com.metsci.glimpse.charts.shoreline.gshhs
Class GshhsReader
java.lang.Object
com.metsci.glimpse.charts.shoreline.gshhs.GshhsReader
public class GshhsReader
- extends java.lang.Object
The GSHHS dataset can be downloaded from ftp://ftp.soest.hawaii.edu/pwessel/gshhs/ .
- Author:
- hogye
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GshhsReader
public GshhsReader()
readSegments
public static Pair<java.util.List<java.util.List<LandVertex>>,java.util.List<GshhsPolygonHeader>> readSegments(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
readSegments
public static Pair<java.util.List<java.util.List<LandVertex>>,java.util.List<GshhsPolygonHeader>> readSegments(java.lang.String location,
StreamOpener streamOpener)
throws java.io.IOException
- Throws:
java.io.IOException
readSegments
public static Pair<java.util.List<java.util.List<LandVertex>>,java.util.List<GshhsPolygonHeader>> readSegments(java.io.InputStream stream)
throws java.io.IOException
- Closing the stream is left up to the caller.
- Throws:
java.io.IOException
Copyright © 2012 Metron, Inc.. All Rights Reserved.