Interface WkbEncoder


  • public interface WkbEncoder
    An encoder for WKB (Well-Known Binary) encoded Geometries.

    In general WkbEncoder implementations are not be thread-safe.

    Author:
    Karel Maesen, Geovise BVBA creation-date: 9/29/12
    • Method Detail

      • encode

        <P extends PositionByteBuffer encode​(Geometry<P> geometry,
                                               ByteOrder byteOrder)
        Encodes a Geometry to its WKB representation
        Parameters:
        geometry - the geometry to encode
        byteOrder - the bye-order for the WKB representation
        Returns:
        a ByteBuffer containing the binary WKB representation of the specified geometry using the specified byte-order