class PostgisWkbDecoder extends AbstractWkbDecoder
This WKBDecoder supports the EWKB dialect of PostGIS versions 1.0 tot 1.5+.
This implementation is not thread-safe.
| Constructor and Description |
|---|
PostgisWkbDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasSrid(int typeCode) |
protected void |
prepare(ByteBuffer byteBuffer)
Perform any preparatory steps on the bytebuffer before
starting the decoding.
|
protected <P extends Position> |
readCrs(ByteBuffer byteBuffer,
int typeCode,
CoordinateReferenceSystem<P> crs)
Read and set the SRID (if it is present)
|
private void |
validateCrs(CoordinateReferenceSystem<?> crs,
boolean hasM,
boolean hasZ) |
decode, decode, readTypeCodeprotected void prepare(ByteBuffer byteBuffer)
AbstractWkbDecoderprepare in class AbstractWkbDecoderprotected <P extends Position> CoordinateReferenceSystem<P> readCrs(ByteBuffer byteBuffer, int typeCode, CoordinateReferenceSystem<P> crs)
AbstractWkbDecoderreadCrs in class AbstractWkbDecoderprivate void validateCrs(CoordinateReferenceSystem<?> crs, boolean hasM, boolean hasZ)
protected boolean hasSrid(int typeCode)
hasSrid in class AbstractWkbDecoder