Package org.geotools.geopkg.geom
Class GeoPkgGeomWriter
- Object
-
- GeoPkgGeomWriter
-
public class GeoPkgGeomWriter extends Object
Translates a vividsolutions Geometry to a GeoPackage geometry BLOB.- Author:
- Justin Deoliveira, Niels Charlier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoPkgGeomWriter.Configuration
-
Field Summary
Fields Modifier and Type Field Description protected GeoPkgGeomWriter.Configuration
config
protected int
dim
-
Constructor Summary
Constructors Constructor Description GeoPkgGeomWriter()
GeoPkgGeomWriter(int dim)
GeoPkgGeomWriter(int dim, GeoPkgGeomWriter.Configuration config)
GeoPkgGeomWriter(GeoPkgGeomWriter.Configuration config)
-
-
-
Field Detail
-
config
protected GeoPkgGeomWriter.Configuration config
-
dim
protected int dim
-
-
Constructor Detail
-
GeoPkgGeomWriter
public GeoPkgGeomWriter()
-
GeoPkgGeomWriter
public GeoPkgGeomWriter(int dim)
-
GeoPkgGeomWriter
public GeoPkgGeomWriter(GeoPkgGeomWriter.Configuration config)
-
GeoPkgGeomWriter
public GeoPkgGeomWriter(int dim, GeoPkgGeomWriter.Configuration config)
-
-
Method Detail
-
write
public byte[] write(Geometry g) throws IOException
- Throws:
IOException
-
write
public void write(Geometry g, OutputStream out) throws IOException
- Throws:
IOException
-
-