public class OGCWKBEncoder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
OGCWKBEncoder.wkbByteOrder |
static interface |
OGCWKBEncoder.wkbGeometryType |
Constructor and Description |
---|
OGCWKBEncoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(Geometry geometry) |
void |
encode(Geometry geometry,
ByteArrayOutputStream stream) |
void |
encode(Geometry geometry,
DataOutputStream stream) |
public byte[] encode(Geometry geometry) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException
public void encode(Geometry geometry, ByteArrayOutputStream stream) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException
public void encode(Geometry geometry, DataOutputStream stream) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException