| Package | Description |
|---|---|
| org.geolatte.geom |
A model for geospatial geometries.
|
| org.geolatte.geom.codec |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
ByteBuffer.allocate(int capacity)
Allocates a new
ByteBuffer of the specified capacity. |
static ByteBuffer |
ByteBuffer.collect(List<ByteBuffer> buffers)
Transforms a List of ByteBuffers to a single ByteBuffer
|
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 |
|---|---|
boolean |
ByteBuffer.hasSameContent(ByteBuffer other)
Used for testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
ByteBuffer.collect(List<ByteBuffer> buffers)
Transforms a List of ByteBuffers to a single ByteBuffer
|
| Modifier and Type | Method and Description |
|---|---|
default <P extends Position> |
WkbEncoder.encode(Geometry<P> geometry)
Encodes a
Geometry to its WKB representation using NDR (little-endian) ByteOrder |
<P extends Position> |
MySqlWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
PostgisWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
<P extends Position> |
HANAWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
Sfa110WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
Sfa121WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
static ByteBuffer |
Wkb.toWkb(Geometry<?> geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static ByteBuffer |
Wkb.toWkb(Geometry<?> geometry,
ByteOrder byteOrder,
Wkb.Dialect dialect)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static <P extends Position> |
Wkb.toWkb(Geometry<P> geometry)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static <P extends Position> |
Wkb.toWkb(Geometry<P> geometry,
Wkb.Dialect dialect)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
| Modifier and Type | Method and Description |
|---|---|
default Geometry<? extends Position> |
WkbDecoder.decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
<P extends Position> |
Sfa121WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
PostgisWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
HANAWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
Sfa110WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
MySqlWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs)
Decodes a WKB encoded representation of a
Geometry, assuming the specified
CoordinateReferenceSystem |
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer,
Wkb.Dialect dialect)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
Copyright © 2021 geolatte.org. All rights reserved.