org.geotools.data.shapefile
Class ShapefileRendererUtil
Object
ShapefileRendererUtil
public class ShapefileRendererUtil
- extends Object
Allows access the the ShapefileReaders.
- Since:
- 2.1.x
- Author:
- jeichar
- Module:
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapefileRendererUtil
public ShapefileRendererUtil()
getShpReader
public static ShapefileReader getShpReader(ShapefileDataStore ds,
Envelope bbox,
Rectangle screenSize,
MathTransform mt,
boolean hasOpacity,
boolean returnJTS)
throws IOException,
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:
IOException
TransformException
getDBFReader
public static IndexedDbaseFileReader getDBFReader(ShapefileDataStore ds)
throws IOException
- Throws:
IOException
getShpReadChannel
public static ReadableByteChannel getShpReadChannel(ShapefileDataStore ds)
throws IOException
- Throws:
IOException
getshpURL
public static URL getshpURL(ShapefileDataStore ds)
getFidReader
public static FIDReader getFidReader(ShapefileDataStore datastore,
RecordNumberTracker tracker)
throws MalformedURLException
- Throws:
MalformedURLException
getShpFiles
public static ShpFiles getShpFiles(ShapefileDataStore ds)
Copyright © 1996-2009 Geotools. All Rights Reserved.