| Package | Description |
|---|---|
| org.geolatte.geom.codec |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems.
|
| Modifier and Type | Method and Description |
|---|---|
static Wkb.Dialect |
Wkb.Dialect.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wkb.Dialect[] |
Wkb.Dialect.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer,
Wkb.Dialect dialect)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
static WkbDecoder |
Wkb.newDecoder(Wkb.Dialect dialect)
Creates a
WkbDecoder for the specified WKB Dialect. |
static WkbEncoder |
Wkb.newEncoder(Wkb.Dialect dialect)
Creates a
WkbEncoder for the specified WKB Dialect. |
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,
Wkb.Dialect dialect)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
Copyright © 2021 geolatte.org. All rights reserved.