Class OperatorExportToWkbLocal


class OperatorExportToWkbLocal extends OperatorExportToWkb
  • Constructor Details

    • OperatorExportToWkbLocal

      OperatorExportToWkbLocal()
  • Method Details

    • execute

      public ByteBuffer execute(int exportFlags, Geometry geometry, ProgressTracker progressTracker)
      Description copied from class: OperatorExportToWkb
      Performs the ExportToWKB operation.
      Specified by:
      execute in class OperatorExportToWkb
      Parameters:
      exportFlags - Use the WkbExportFlags interface.
      geometry - The Geometry being exported.
      Returns:
      Returns a ByteBuffer object containing the Geometry in WKB format
    • execute

      public int execute(int exportFlags, Geometry geometry, ByteBuffer wkbBuffer, ProgressTracker progressTracker)
      Description copied from class: OperatorExportToWkb
      Performs the ExportToWKB operation.
      Specified by:
      execute in class OperatorExportToWkb
      Parameters:
      exportFlags - Use the WkbExportFlags interface.
      geometry - The Geometry being exported.
      wkbBuffer - The ByteBuffer to contain the exported Geometry in WKB format.
      Returns:
      If the input buffer is null, then the size needed for the buffer is returned. Otherwise the number of bytes written to the buffer is returned.
    • exportToWKB

      private static int exportToWKB(int exportFlags, Geometry geometry, ByteBuffer wkbBuffer)
    • exportPolygonToWKB

      private static int exportPolygonToWKB(int exportFlags, Polygon _polygon, ByteBuffer wkbBuffer)
    • exportPolylineToWKB

      private static int exportPolylineToWKB(int exportFlags, Polyline _polyline, ByteBuffer wkbBuffer)
    • exportMultiPointToWKB

      private static int exportMultiPointToWKB(int exportFlags, MultiPoint _multipoint, ByteBuffer wkbBuffer)
    • exportPointToWKB

      private static int exportPointToWKB(int exportFlags, Point point, ByteBuffer wkbBuffer)
    • exportEnvelopeToWKB

      private static int exportEnvelopeToWKB(int exportFlags, Envelope envelope, ByteBuffer wkbBuffer)