public interface WkbDecoder
Geometries
.
In general WkbDecoder
implementations are not be thread-safe.
Modifier and Type | Method and Description |
---|---|
Geometry<?> |
decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
<P extends Position> |
decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs)
Decodes a WKB encoded representation of a
Geometry , assuming the specified
CoordinateReferenceSystem |
Geometry<?> decode(ByteBuffer byteBuffer)
Geometry
byteBuffer
- the WKB encoded binary representationGeometry
WkbDecodeException
- if the specified ByteBuffer is an illegal or unsupported WKB representation<P extends Position> Geometry<P> decode(ByteBuffer byteBuffer, CoordinateReferenceSystem<P> crs)
Geometry
, assuming the specified
CoordinateReferenceSystem
P
- the Position type for the (base)byteBuffer
- the WKB encoded binary representationcrs
- the base coordinate reference system assumed for the wktGeometry
WkbDecodeException
- if the specified ByteBuffer is an illegal or unsupported WKB representationCopyright © 2018 geolatte.org. All rights reserved.