public class GeoJSONGeometryReader
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
GeoJSONGeometryReader()
Constructs a new GeoJSONGeometryReader object.
|
GeoJSONGeometryReader(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(GeoJSONGeometryReader obj) |
Projection |
getTargetProjection()
Returns the current target projection.
|
Feature |
readFeature(java.lang.String geoJSON)
Reads feature from the specified GeoJSON string.
|
FeatureCollection |
readFeatureCollection(java.lang.String geoJSON)
Reads feature collection from the specified GeoJSON string.
|
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
在类中 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.java.lang.Exception
- If string could not be parsed.public Feature readFeature(java.lang.String geoJSON)
geoJSON
- The GeoJSON string to read.java.lang.Exception
- If string could not be parsed.public FeatureCollection readFeatureCollection(java.lang.String geoJSON)
geoJSON
- The GeoJSON string to read.java.lang.Exception
- If string could not be parsed.