Package noaa.coastwatch.render.feature
Class GSHHSReader.PolygonHeader
java.lang.Object
noaa.coastwatch.render.feature.GSHHSReader.PolygonHeader
- Enclosing class:
- GSHHSReader
The GSHHS polygon header class acts as a container for the GSHHS
reader class polygon header values. Each polygon is a GSHHS
database is accompanied by a list of header attributes. An
instance of this class is returned by the
GSHHSReader.readHeader(java.io.DataInput)
routine.-
Field Summary
Modifier and TypeFieldDescriptiondouble
The area of the polygon in km^2.double
The maximum eastern value in degrees [-180..180].short
The Greenwich-crossing flag, 1 if Greenwich is crossed or 0 if not.int
The unique polygon id number, starting at 0.static final int
Island in lake level constant.static final int
Lake level constant.static final int
Land level constant.int
The polygon level [1..4].int
The number of points in this polygon.double
The maximum northern value in degrees [-90..90].static final int
Pond in island in lake level constant.short
The data source, 0 for CIA WDBII or 1 or WVS.double
The maximum southern value in degrees [-90..90].double
The maximum western value in degrees [-180..180]. -
Constructor Summary
-
Method Summary
-
Field Details
-
LAND
public static final int LANDLand level constant.- See Also:
-
LAKE
public static final int LAKELake level constant.- See Also:
-
ISLAND_IN_LAKE
public static final int ISLAND_IN_LAKEIsland in lake level constant.- See Also:
-
POND_IN_ISLAND
public static final int POND_IN_ISLANDPond in island in lake level constant.- See Also:
-
id
public int idThe unique polygon id number, starting at 0. -
n
public int nThe number of points in this polygon. -
level
public int levelThe polygon level [1..4]. -
west
public double westThe maximum western value in degrees [-180..180]. -
east
public double eastThe maximum eastern value in degrees [-180..180]. -
south
public double southThe maximum southern value in degrees [-90..90]. -
north
public double northThe maximum northern value in degrees [-90..90]. -
area
public double areaThe area of the polygon in km^2. -
greenwich
public short greenwichThe Greenwich-crossing flag, 1 if Greenwich is crossed or 0 if not. -
source
public short sourceThe data source, 0 for CIA WDBII or 1 or WVS.
-
-
Constructor Details
-
PolygonHeader
public PolygonHeader()
-