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
IOExceptionpublic GeoPkgGeomReader(byte[] bytes)
public GeometryHeader getHeader() throws IOException
IOExceptionpublic Geometry get()
throws IOException
IOExceptionpublic Geometry getSimplifiedShape(Class type, double minX, double minY, double maxX, double maxY)
public Envelope getEnvelope()
throws IOException
IOExceptionprotected Geometry read()
throws IOException
IOExceptionprotected GeometryHeader readHeader() throws IOException
IOExceptionpublic 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.