Package org.geolatte.geom.codec
Interface WkbDecoder
-
public interface WkbDecoderA decoder for WKB (Well-Known Binary) encodedGeometries.In general
WkbDecoderimplementations are not be thread-safe.- Author:
- Karel Maesen, Geovise BVBA creation-date: 9/29/12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Geometry<?>decode(ByteBuffer byteBuffer)Decodes a WKB encoded representation of aGeometry<P extends Position>
Geometry<P>decode(ByteBuffer byteBuffer, CoordinateReferenceSystem<P> crs)Decodes a WKB encoded representation of aGeometry, assuming the specifiedCoordinateReferenceSystem
-
-
-
Method Detail
-
decode
Geometry<?> decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of aGeometry- Parameters:
byteBuffer- the WKB encoded binary representation- Returns:
- the represented
Geometry - Throws:
WkbDecodeException- if the specified ByteBuffer is an illegal or unsupported WKB representation
-
decode
<P extends Position> Geometry<P> decode(ByteBuffer byteBuffer, CoordinateReferenceSystem<P> crs)
Decodes a WKB encoded representation of aGeometry, assuming the specifiedCoordinateReferenceSystem- Type Parameters:
P- the Position type for the (base)- Parameters:
byteBuffer- the WKB encoded binary representationcrs- the base coordinate reference system assumed for the wkt- Returns:
- the represented
Geometry - Throws:
WkbDecodeException- if the specified ByteBuffer is an illegal or unsupported WKB representation
-
-