public class GshhsPolygonHeader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GshhsPolygonHeader.PolygonDataSource |
static class |
GshhsPolygonHeader.PolygonType
In GSHHS version 7 (perhaps aka 1.10, version 2)
the polygon type "river-lake" was added and consigned to level 2
|
static class |
GshhsPolygonHeader.UnrecognizedValueException |
Modifier and Type | Field and Description |
---|---|
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)
|
double |
area_full
Area of original full-resolution polygon in km^2 (Double.NaN if not supported in GSHHS version)
|
double |
area_KM2
Area of polygon in km^2
|
int |
container
Id of container polygon that encloses this polygon (-1 if none, -2 if not supported in GSHHS version)
|
boolean |
crossesGreenwich |
GshhsPolygonHeader.PolygonDataSource |
dataSource |
double |
eastLon_DEG |
int |
id |
double |
northLat_DEG |
int |
numVertices |
double |
southLat_DEG |
GshhsPolygonHeader.PolygonType |
type |
double |
westLon_DEG |
Constructor and Description |
---|
GshhsPolygonHeader(DataInput in) |
public final int id
public final int numVertices
public final GshhsPolygonHeader.PolygonType type
public final boolean crossesGreenwich
public final GshhsPolygonHeader.PolygonDataSource dataSource
public final double westLon_DEG
public final double eastLon_DEG
public final double southLat_DEG
public final double northLat_DEG
public final double area_KM2
public final double area_full
public final int container
public final int ancestor
public GshhsPolygonHeader(DataInput in) throws IOException, GshhsPolygonHeader.UnrecognizedValueException
Copyright © 2016 Metron, Inc.. All rights reserved.