org.geotools.data.shapefile
Class ShapefileRendererUtil
java.lang.Object
org.geotools.data.shapefile.ShapefileRendererUtil
- public class ShapefileRendererUtil
- extends java.lang.Object
Allows access the the ShapefileReaders.
- Since:
- 2.1.x
- Author:
- jeichar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapefileRendererUtil
public ShapefileRendererUtil()
getShpReader
public static ShapefileReader getShpReader(ShapefileDataStore ds,
com.vividsolutions.jts.geom.Envelope bbox,
org.opengis.referencing.operation.MathTransform mt,
boolean hasOpacity)
throws java.io.IOException,
org.opengis.referencing.operation.TransformException
- gets a shapefile reader with the custom shaperenderer shape handler.
- Parameters:
ds
- the datastore used to obtain the readerbbox
- the area, in data coordinates, of the viewed data.mt
- The transform used to transform from data->world coordinates->screen coordinateshasOpacity
- the transform from screen coordinates to world coordinates. Used for
decimation.
- Returns:
-
- Throws:
java.io.IOException
org.opengis.referencing.operation.TransformException
getDBFReader
public static DbaseFileReader getDBFReader(ShapefileDataStore ds)
throws java.io.IOException
- Throws:
java.io.IOException
getShpReadChannel
public static java.nio.channels.ReadableByteChannel getShpReadChannel(ShapefileDataStore ds)
throws java.io.IOException
- Throws:
java.io.IOException
getshpURL
public static java.net.URL getshpURL(ShapefileDataStore ds)
getFidReader
public static FIDReader getFidReader(ShapefileDataStore datastore)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
Copyright © GeoTools. All Rights Reserved.