Class GshhsPolygonHeader
- java.lang.Object
-
- com.metsci.glimpse.charts.shoreline.gshhs.GshhsPolygonHeader
-
public class GshhsPolygonHeader extends Object
- Author:
- hogye
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGshhsPolygonHeader.PolygonDataSourcestatic classGshhsPolygonHeader.PolygonTypeIn GSHHS version 7 (perhaps aka 1.10, version 2) the polygon type "river-lake" was added and consigned to level 2static classGshhsPolygonHeader.UnrecognizedValueException
-
Field Summary
Fields Modifier and Type Field Description intancestorId of ancestor polygon in the full resolution set that was the source of this polygon (-1 if none, -2 if not supported in GSHHS version)doublearea_fullArea of original full-resolution polygon in km^2 (Double.NaN if not supported in GSHHS version)doublearea_KM2Area of polygon in km^2intcontainerId of container polygon that encloses this polygon (-1 if none, -2 if not supported in GSHHS version)booleancrossesGreenwichGshhsPolygonHeader.PolygonDataSourcedataSourcedoubleeastLon_DEGintiddoublenorthLat_DEGintnumVerticesdoublesouthLat_DEGGshhsPolygonHeader.PolygonTypetypedoublewestLon_DEG
-
Constructor Summary
Constructors Constructor Description GshhsPolygonHeader(DataInput in)
-
-
-
Field Detail
-
id
public final int id
-
numVertices
public final int numVertices
-
type
public final GshhsPolygonHeader.PolygonType type
-
crossesGreenwich
public final boolean crossesGreenwich
-
dataSource
public final GshhsPolygonHeader.PolygonDataSource dataSource
-
westLon_DEG
public final double westLon_DEG
-
eastLon_DEG
public final double eastLon_DEG
-
southLat_DEG
public final double southLat_DEG
-
northLat_DEG
public final double northLat_DEG
-
area_KM2
public final double area_KM2
Area of polygon in km^2
-
area_full
public final double area_full
Area of original full-resolution polygon in km^2 (Double.NaN if not supported in GSHHS version)
-
container
public final int container
Id of container polygon that encloses this polygon (-1 if none, -2 if not supported in GSHHS version)
-
ancestor
public final int ancestor
Id of ancestor polygon in the full resolution set that was the source of this polygon (-1 if none, -2 if not supported in GSHHS version)
-
-
Constructor Detail
-
GshhsPolygonHeader
public GshhsPolygonHeader(DataInput in) throws IOException, GshhsPolygonHeader.UnrecognizedValueException
-
-