|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5utm.util.BuildPointStatsFromDb
public class BuildPointStatsFromDb
This utility fills the UTM_POINT_STATS table in the C5 landscape database from data in the DEM_METADATA and UTM_COORS tables. (The MODE table is populated as well.) This program is semi-smart. It sets the DEM_METADATA.point_stats 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. (BuildPointStatsFromFiles 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.point_stats attribute to 2, and will no longer try to process that area. The DEM_METADATA.point_stats attribute is 0 after new dems have been added to the database.
BuildPointStatsFromFiles
,
BuildPointStats
Constructor Summary | |
---|---|
BuildPointStatsFromDb(boolean verbose)
Construction processes UTM_COORS data into UTM_1K_GRID_DATA and UTM_POINT_STATS and MODE tables. |
Method Summary | |
---|---|
static void |
BuildPointStats(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 BuildPointStatsFromDb(boolean verbose)
verbose
- writes messages to System.out if true.Method Detail |
---|
public static void main(java.lang.String[] args)
args
- mainpublic static void BuildPointStats(boolean verbose)
verbose
- true for verbose output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |