public class PostGISEWKBEncoder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
wkbGeometryCollection |
static int |
wkbLineString |
static int |
wkbMultiLineString |
static int |
wkbMultiPoint |
static int |
wkbMultiPolygon |
static int |
wkbPoint |
static int |
wkbPolygon |
Constructor and Description |
---|
PostGISEWKBEncoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(Geometry geometry) |
protected int |
estimateBytes(Geometry geom) |
protected void |
writeGeometry(Geometry geom,
DataOutputStream dest) |
public static final int wkbPoint
public static final int wkbLineString
public static final int wkbPolygon
public static final int wkbMultiPoint
public static final int wkbMultiLineString
public static final int wkbMultiPolygon
public static final int wkbGeometryCollection
public byte[] encode(Geometry geometry) throws IOException
IOException
protected void writeGeometry(Geometry geom, DataOutputStream dest) throws IOException
IOException
protected int estimateBytes(Geometry geom)