public class GeoJSONGeometryReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
GeoJSONGeometryReader()
Constructs a new GeoJSONGeometryReader object.
|
GeoJSONGeometryReader(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(GeoJSONGeometryReader obj) |
Projection |
getTargetProjection()
Returns the current target projection.
|
Geometry |
readGeometry(java.lang.String geoJSON)
Reads geometry from the specified GeoJSON string.
|
void |
setTargetProjection(Projection proj)
Sets the current target projection.
|
public GeoJSONGeometryReader(long cPtr, boolean cMemoryOwn)
public GeoJSONGeometryReader()
public static long getCPtr(GeoJSONGeometryReader obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public Projection getTargetProjection()
public void setTargetProjection(Projection proj)
proj
- The new target projection or null.public Geometry readGeometry(java.lang.String geoJSON)
geoJSON
- The GeoJSON string to read.