com.metsci.glimpse.charts.shoreline.gshhs
Class GshhsPolygonHeader

java.lang.Object
  extended by com.metsci.glimpse.charts.shoreline.gshhs.GshhsPolygonHeader

public class GshhsPolygonHeader
extends java.lang.Object

Author:
hogye

Nested Class Summary
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
           
 
Field Summary
 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 Summary
GshhsPolygonHeader(java.io.DataInput in)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(java.io.DataInput in)
                   throws java.io.IOException,
                          GshhsPolygonHeader.UnrecognizedValueException
Throws:
java.io.IOException
GshhsPolygonHeader.UnrecognizedValueException


Copyright © 2012 Metron, Inc.. All Rights Reserved.