com.metsci.glimpse.charts.shoreline.gshhs
Class GshhsFile
java.lang.Object
com.metsci.glimpse.charts.shoreline.LandFile
com.metsci.glimpse.charts.shoreline.gshhs.GshhsFile
- All Implemented Interfaces:
- LandShapeCapable
public class GshhsFile
- extends LandFile
The class can parse GSHHS version 1 files.
The GSHHS dataset can be downloaded from ftp://ftp.soest.hawaii.edu/pwessel/gshhs/ .
An alternate source: http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/oldversions/
- Author:
- hogye
Methods inherited from class com.metsci.glimpse.charts.shoreline.LandFile |
toShape |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GshhsFile
public GshhsFile(java.io.File file,
LatLonGeo swCorner,
LatLonGeo neCorner)
throws java.io.IOException,
GshhsPolygonHeader.UnrecognizedValueException
- Throws:
java.io.IOException
GshhsPolygonHeader.UnrecognizedValueException
GshhsFile
public GshhsFile(java.io.File file,
LandBox box)
throws java.io.IOException,
GshhsPolygonHeader.UnrecognizedValueException
- Throws:
java.io.IOException
GshhsPolygonHeader.UnrecognizedValueException
GshhsFile
public GshhsFile(java.io.InputStream stream,
LandBox box,
boolean isLittleEndian)
throws java.io.IOException,
GshhsPolygonHeader.UnrecognizedValueException
- Throws:
java.io.IOException
GshhsPolygonHeader.UnrecognizedValueException
readSegments
@Deprecated
public static Pair<java.util.List<java.util.List<LandVertex>>,java.util.List<GshhsPolygonHeader>> readSegments(java.io.File file,
LandBox box)
throws java.io.IOException,
GshhsPolygonHeader.UnrecognizedValueException
- Deprecated.
- Deprecated in favor of
GshhsReader.readSegments(File)
.
- Throws:
java.io.IOException
GshhsPolygonHeader.UnrecognizedValueException
Copyright © 2012 Metron, Inc.. All Rights Reserved.