public class GeoPkgGeomReader extends Object
Modifier and Type | Field and Description |
---|---|
protected Geometry |
geometry |
protected GeometryHeader |
header |
protected InStream |
input |
Constructor and Description |
---|
GeoPkgGeomReader(byte[] bytes) |
GeoPkgGeomReader(InputStream input) |
GeoPkgGeomReader(InStream input) |
Modifier and Type | Method and Description |
---|---|
Geometry |
get() |
Envelope |
getEnvelope() |
GeometryFactory |
getFactory() |
GeometryHeader |
getHeader() |
Geometry |
getSimplifiedShape(Class type,
double minX,
double minY,
double maxX,
double maxY) |
protected Geometry |
read() |
protected GeometryHeader |
readHeader() |
void |
setFactory(GeometryFactory factory) |
void |
setGeometryType(Class geometryType) |
void |
setHints(Hints hints) |
protected InStream input
protected GeometryHeader header
protected Geometry geometry
public GeoPkgGeomReader(InStream input)
public GeoPkgGeomReader(InputStream input) throws IOException
IOException
public GeoPkgGeomReader(byte[] bytes)
public GeometryHeader getHeader() throws IOException
IOException
public Geometry get() throws IOException
IOException
public Geometry getSimplifiedShape(Class type, double minX, double minY, double maxX, double maxY)
public Envelope getEnvelope() throws IOException
IOException
protected Geometry read() throws IOException
IOException
protected GeometryHeader readHeader() throws IOException
IOException
public GeometryFactory getFactory()
public void setFactory(GeometryFactory factory)
factory
- the factory to setpublic void setHints(Hints hints)
public void setGeometryType(Class geometryType)
Copyright © 1996–2019 Geotools. All rights reserved.