Package | Description |
---|---|
org.geolatte.geom |
A model for geospatial geometries.
|
org.geolatte.geom.codec |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
ByteBuffer.allocate(int capacity)
Allocates a new
ByteBuffer of the specified capacity. |
static ByteBuffer |
ByteBuffer.from(byte[] bytes)
Wraps a byte array into a
ByteBuffer . |
static ByteBuffer |
ByteBuffer.from(String hexString)
Creates a
ByteBuffer from a hexadecimal string. |
Modifier and Type | Method and Description |
---|---|
GeometryOperation<ByteBuffer> |
GeometryOperations.createToWkbOp(Geometry geometry)
Creates an operation to encode the specified
Geometry to Well-Known Binary format (WKB). |
Modifier and Type | Method and Description |
---|---|
boolean |
ByteBuffer.hasSameContent(ByteBuffer other)
Used for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
WkbEncoder.encode(Geometry geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
static ByteBuffer |
Wkb.toWkb(Geometry geometry)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static ByteBuffer |
Wkb.toWkb(Geometry geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
Modifier and Type | Method and Description |
---|---|
Geometry |
WkbDecoder.decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
static Geometry |
Wkb.fromWkb(ByteBuffer byteBuffer)
Decodes a WKB representation in a
ByteBuffer to a Geometry . |
Copyright © 2015 geolatte.org. All rights reserved.