public class PostgisWkbEncoder extends Object implements WkbEncoder
This WKBEncoder encodes empty points as empty GeometryCollections. This convention
was changed in Postgis version 2.2.2 to an encoding with NaN coordinates. For the later convention
use the PostgisWkbV2Encoder
PostgisWkbV2Encoder| Modifier | Constructor and Description |
|---|---|
protected |
PostgisWkbEncoder() |
protected |
PostgisWkbEncoder(org.geolatte.geom.codec.WkbDialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
encode(Geometry<P> geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodeprotected PostgisWkbEncoder(org.geolatte.geom.codec.WkbDialect dialect)
protected PostgisWkbEncoder()
public <P extends Position> ByteBuffer encode(Geometry<P> geometry, ByteOrder byteOrder)
WkbEncoderGeometry to its WKB representationencode in interface WkbEncodergeometry - the geometry to encodebyteOrder - the bye-order for the WKB representationCopyright © 2023 geolatte.org. All rights reserved.