|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.c5corp.DEMconvert.C5DemAbstractFilter
com.c5corp.DEMconvert.filters.Dem2C5UTM
public final class Dem2C5UTM
Dem2C5UTM.java - part of C5UTM database C5 DEM Tool 1.0.3b filter that processes a dem to update the C5UTM database (uses java JDBC) Dem2C5UTM.java adds UTM points to the C5UTM (C5 Landscape) db. Refer to sql directory for info on the data model. This version copies data from a dem file directly into the database. The writeHeader method updates the DEM_METADATA table, then issues a report to the 'receipt' file in the RECEIPTS directory or pwd. The writeData method updates the UTM_COORDS table and similarly reports to the text reciept. The db_url and jdbc driver can be changed in the conf/add2c5utm.conf file
| Field Summary |
|---|
| Fields inherited from interface com.c5corp.c5dem.C5DemConstants |
|---|
copy, E_BIT, FEETTOMETERS, hdatum, METERSTOFEET, N_BIT, NE_BIT, NW_BIT, S_BIT, SE_BIT, SW_BIT, system, units, vdatum, W_BIT |
| Constructor Summary | |
|---|---|
Dem2C5UTM()
default constuctor - required by the newInstance() method of the Class class such that this class can be dynamically loaded. |
|
Dem2C5UTM(java.lang.String in_fileame,
java.lang.String backoutID)
This constructor is typically used by the main method in this class when invoked from the command line. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFilterInfo()
A method that returns a string containing information about the filter. |
java.lang.String |
getOutputPath()
Returns a relative path describing the location of the output. |
static void |
main(java.lang.String[] args)
|
void |
setOutputPath(java.lang.String path)
sets the path to the output file |
java.lang.String |
toString()
overrides java.lang.Object.toString() |
void |
writeData(Dem dem,
java.io.PrintWriter out)
A method for output of the formated data (overrides C5DemAbstractFilter) |
void |
writeHeader(Dem dem,
java.io.PrintWriter out)
A method for output of metadata to the file (overrides C5DemAbstractFilter) |
| Methods inherited from class com.c5corp.DEMconvert.C5DemAbstractFilter |
|---|
openOutputFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Dem2C5UTM()
public Dem2C5UTM(java.lang.String in_fileame,
java.lang.String backoutID)
in_fileame - the imput file namebackoutID - the backout id| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - main
public void writeHeader(Dem dem,
java.io.PrintWriter out)
writeHeader in class C5DemAbstractFilterdem - A Dem.out - Where to write the data.
public void writeData(Dem dem,
java.io.PrintWriter out)
writeData in class C5DemAbstractFilterdem - A Dem.out - Where to write the data.public java.lang.String getFilterInfo()
getFilterInfo in class C5DemAbstractFilterpublic java.lang.String getOutputPath()
getOutputPath in class C5DemAbstractFilterpublic void setOutputPath(java.lang.String path)
path - sets the path to the output filepublic java.lang.String toString()
toString in class C5DemAbstractFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||