|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5utm.util.Build1KGridFromDb
public class Build1KGridFromDb
This utility fills the UTM_1K_GRID_DATA table in the C5 landscape database from data in the DEM_METADATA and UTM_COORS tables. (The UTM_POINT_STATS table and MODE are populated as well.) (The actual records are stored in then UTM_POINT_STATS table.) This program is semi-smart. It sets the DEM_METADATA.1K_grid attibute to 1 (partially processed) if the area is successfully processed, but there is missing data around the edges due to the lack of surrounding elevations from adjacent dems that are needed to calculate the area completely. If the attribute is already set to 1, the algorithm attempts to recalculate only the edges of these areas on subsequent runs. (Build1KGridFromFiles also processes the attribute to level 1.) If this script can determine that the entire dem has been processed, then it updates the DEM_METADATA.1K_grid attribute to 2, and will no longer try to process that area. The DEM_METADATA.1K_grid attribute is 0 after new dems have been added to the database.
Build1KGridFromFiles
,
Build1KGridStats
Constructor Summary | |
---|---|
Build1KGridFromDb(boolean verbose)
Construction processes UTM_COORDS data into UTM_1K_GRID_DATA and UTM_POINT_STATS and MODE tables. |
Method Summary | |
---|---|
static void |
Build1KGrid(boolean verbose)
Run from another class. |
static void |
main(java.lang.String[] args)
Run from the command line |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Build1KGridFromDb(boolean verbose)
verbose
- writes messages to System.out if true.Method Detail |
---|
public static void main(java.lang.String[] args)
args
- mainpublic static void Build1KGrid(boolean verbose)
verbose
- true for verbose output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |