|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.j3d.loaders.dem.DEMRecord
org.j3d.loaders.dem.DEMTypeARecord
Representation of the DEM File format Type A record.
The DEM format uses X and Y as the coordinates of the ground plane and Z as the height, which is not your traditional 3D graphics reference system. Values stored in this record will follow the spec, although the heights in other records will follow the normal 3D conventions.
All arrays will be pre-allocated to the correct length, with the exception of the map projection parameters.
The definition of the file format can be found at: http://edcwww.cr.usgs.gov/glis/hyper/guide/1_dgr_dem
| Field Summary | |
static int |
AREA_SUSPECT
Suspect areas in the data |
static int |
AREA_SUSPECT_AND_VOID
Suspect and void areas in the data |
static int |
AREA_SUSPECT_NONE
No suspect or void areas in the data |
static int |
AREA_VOID
Void areas in the data |
int |
dataEdition
Data edition as specified by the generator (element 28). |
int |
dataValidated
Flag indicating the type of validate that has been performed on the data (element 24). |
static int |
DEFAULT_DATA_EDITION
Default data edition in use. |
static int |
DEFAULT_PATTERN
Default pattern code for element 4 |
static int |
DEFAULT_POLY_SIDES
Default number of sides in the polygon of element 10 |
static float |
DEFAULT_REF_SYSTEM_ANGLE
Default angle offset between the two reference systems (element 13). |
static int |
DEM_1
Values for Data Element 3 |
static int |
DEM_2
|
static int |
DEM_3
|
static int |
DEM_4
|
float[] |
eastEdge
Location of the SE corner, east edge. |
int |
edgeMatching
Edge match status flag (element 30). |
boolean |
elevationPattern
The elevation points are random (false) or regular (true)(element 4) |
int |
elevationUnitOfMeasure
The type of unit of measure used for elevation values (element 9). |
java.lang.String |
filename
Name of the file (element 1). |
java.lang.String |
freeFormatText
Some free-format text (element 1). |
static int |
G_REF_GEOGRAPHIC
Codes defining the ground reference system for element 5. |
static int |
G_REF_STATEPLANE
|
static int |
G_REF_UTM
|
int |
groundReferenceSystem
Code defining the ground reference system (element 5). |
int |
groundUnitOfMeasure
The type of unit of measure used for X,Y values (element 8). |
int |
groundZoneSystem
Code defining zone in the ground plane reference system (element 6). |
boolean |
hasAccuracy
Flag to say if accuracy of the elevation is known (element 14). |
static int |
HORIZONTAL_DATUM_NAD27
North American Datum 1927 (NAD 27) horizontal datum |
static int |
HORIZONTAL_DATUM_NAD83
North American Datum 1983 (NAD 83) horizontal datum |
static int |
HORIZONTAL_DATUM_OLDHAWAII
Old Hawaii Datum horizontal datum |
static int |
HORIZONTAL_DATUM_PUERTORICO
Puerto Rico Datum horizontal datum |
static int |
HORIZONTAL_DATUM_WGS72
World Geodetic System 1972 (WGS 72) horizontal datum |
static int |
HORIZONTAL_DATUM_WGS84
World Geodetic System 1984 (WGS 83) horizontal datum |
int |
horizontalDatum
The horizontal datum in use (element 27) |
boolean |
inspected
True if the level 3 quality control process has been followed (element 23). |
static int |
INTERVAL_UNIT_ARCSEC
|
static int |
INTERVAL_UNIT_FEET
|
static int |
INTERVAL_UNIT_METERS
|
static int |
INTERVAL_UNIT_RADIANS
|
int |
largestContourInterval
The largest primary contour interval (element 17). |
int |
largestIntervalUnits
The units for the largest interval (element 18). |
int |
levelType
The DEM level used (element 3). |
float[] |
mapProjectionParams
Extra map projection parameters used when not using UTM, Geo or State-plane (element 7). |
double |
maxHeight
The maximum elevation of the DEM (element 12). |
double |
minHeight
The minimum elevation of the DEM (element 12). |
double[] |
NECornerCoords
Coordinates of the north-east corner (element 11). |
int |
numColumns
The number of rows of profiles in the DEM (element 16). |
int |
numPolygonSides
The number of sides of the polygon that the DEM covers (element 10). |
int |
numRows
The number of rows of profiles in the DEM (element 16). |
double[] |
NWCornerCoords
Coordinates of the north-west corner (element 11). |
java.lang.String |
originCode
Mapping origin code (Element 2). |
int |
percentageVoid
If element 25 indicates a void, this field contains the percentage of nodes in the file set to void (element 29). |
static int |
PROCESS_CTOG
|
static int |
PROCESS_DCASS
|
static int |
PROCESS_DLG_CPS3
|
static int |
PROCESS_DLG_LINETRACE
|
static int |
PROCESS_ELECTRONIC
|
static int |
PROCESS_GRIDEM
|
static int |
PROCESS_RESAMPLE
Values for data element 1 - Process code. |
int |
processCode
Code indicating the process used to create values (element 1) |
double |
referenceOrientation
Counterclockwise angle in radians from the primary axis of the reference system to the local reference system (element 13). |
int |
revisionDate
The year the data was last revised or checked (element 22). |
double[] |
SECornerCoords
Coordibates if the south-west corner (element 11). |
java.lang.String |
sectionIndicator
The section of the area this file represent in 30 & 15 minute DEMs. |
int |
smallestContourInterval
The smallest primary contour interval (element 19). |
int |
smallestIntervalUnits
The units for the smallest interval (element 20). |
int |
sourceDate
The year the data was created, as an int (element 21). |
float[] |
southEdge
Location of the SE corner, south edge. |
float[] |
spatialResolution
Amount of resolution for each axis (element 15). |
int |
suspectAreas
Flag indicating the state of the data (Element 25) |
double[] |
SWCornerCoords
Coordinates of the south-west corner (element 11). |
static int |
VALIDATE_BATCH
Batch process water body edit and RMSE computed from test points. |
static int |
VALIDATE_L1_REVIEW
Level 1 DEM's reviewed and edited. |
static int |
VALIDATE_L2_VERIFIED
Level 2 and 3 DEM's reviewed and edited. |
static int |
VALIDATE_NONE
No data validation performed |
static int |
VALIDATE_RMSE
RMSE computed from test points (record C added), no quantitative test, no interactive DEM editing or review. |
static int |
VALIDATE_WATER
Review and edit, including water edit. |
static int |
VERTICAL_DATUM_MSL
Local mean sea level vertical datum |
static int |
VERTICAL_DATUM_NAVD
North American Vertical Datum 1988 (NAVD 88)vertical datum |
static int |
VERTICAL_DATUM_NGVD
National Geodetic Vertical Datum 1929 (NGVD 29) vertical datum |
int |
verticalDatum
The veritcal datum in use (element 26) |
float |
verticalDatumShift
Vertical datum shift (element 31). |
| Fields inherited from class org.j3d.loaders.dem.DEMRecord |
ARC_SECONDS, EASTING, FEET, METERS, NORTHING, RADIANS, X, Y, Z |
| Constructor Summary | |
DEMTypeARecord()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DEM_1
public static final int DEM_2
public static final int DEM_3
public static final int DEM_4
public static final int PROCESS_RESAMPLE
public static final int PROCESS_GRIDEM
public static final int PROCESS_CTOG
public static final int PROCESS_DCASS
public static final int PROCESS_DLG_LINETRACE
public static final int PROCESS_DLG_CPS3
public static final int PROCESS_ELECTRONIC
public static final int G_REF_GEOGRAPHIC
public static final int G_REF_UTM
public static final int G_REF_STATEPLANE
public static final int INTERVAL_UNIT_RADIANS
public static final int INTERVAL_UNIT_METERS
public static final int INTERVAL_UNIT_FEET
public static final int INTERVAL_UNIT_ARCSEC
public static final int VALIDATE_NONE
public static final int VALIDATE_RMSE
public static final int VALIDATE_BATCH
public static final int VALIDATE_WATER
public static final int VALIDATE_L1_REVIEW
public static final int VALIDATE_L2_VERIFIED
public static final int AREA_SUSPECT_NONE
public static final int AREA_SUSPECT
public static final int AREA_VOID
public static final int AREA_SUSPECT_AND_VOID
public static final int VERTICAL_DATUM_MSL
public static final int VERTICAL_DATUM_NGVD
public static final int VERTICAL_DATUM_NAVD
public static final int HORIZONTAL_DATUM_NAD27
public static final int HORIZONTAL_DATUM_WGS72
public static final int HORIZONTAL_DATUM_WGS84
public static final int HORIZONTAL_DATUM_NAD83
public static final int HORIZONTAL_DATUM_OLDHAWAII
public static final int HORIZONTAL_DATUM_PUERTORICO
public static final int DEFAULT_PATTERN
public static final int DEFAULT_POLY_SIDES
public static final float DEFAULT_REF_SYSTEM_ANGLE
public static final int DEFAULT_DATA_EDITION
public java.lang.String filename
public java.lang.String freeFormatText
public float[] southEdge
public float[] eastEdge
public int processCode
public java.lang.String sectionIndicator
public java.lang.String originCode
public int levelType
public boolean elevationPattern
public int groundReferenceSystem
public int groundZoneSystem
public float[] mapProjectionParams
public int groundUnitOfMeasure
public int elevationUnitOfMeasure
public int numPolygonSides
public double[] SWCornerCoords
public double[] NWCornerCoords
public double[] NECornerCoords
public double[] SECornerCoords
public double minHeight
public double maxHeight
public double referenceOrientation
public boolean hasAccuracy
DEMTypeCRecord Record C is available to give extra information.
public float[] spatialResolution
public int numRows
public int numColumns
public int largestContourInterval
public int largestIntervalUnits
public int smallestContourInterval
public int smallestIntervalUnits
public int sourceDate
public int revisionDate
public boolean inspected
public int dataValidated
public int suspectAreas
public int verticalDatum
public int horizontalDatum
public int dataEdition
public int percentageVoid
public int edgeMatching
public float verticalDatumShift
| Constructor Detail |
public DEMTypeARecord()
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||