public class PostGISEWKBEncoder
extends java.lang.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,
java.io.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 java.io.IOException
java.io.IOException
protected void writeGeometry(Geometry geom, java.io.DataOutputStream dest) throws java.io.IOException
java.io.IOException
protected int estimateBytes(Geometry geom)