public class

WKBGeometryReader

extends Object
java.lang.Object
   ↳ com.carto.geometry.WKBGeometryReader

Class Overview

A WKB reader. Reads binary version of the Well Known Text representation of the geometry.

Summary

Public Constructors
WKBGeometryReader()
Constructs a new WKBGeometryReader object.
Public Methods
synchronized void delete()
Geometry readGeometry(BinaryData wkbData)
Reads geometry from the specified WKB data.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WKBGeometryReader ()

Constructs a new WKBGeometryReader object.

Public Methods

public synchronized void delete ()

public Geometry readGeometry (BinaryData wkbData)

Reads geometry from the specified WKB data.

Parameters
wkbData The WKB data to read.
Returns
  • The geometry read from the data vector. Null if reading failed.
Throws
Exception If reading fails.