public class GeoJsonParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Geometry |
parseGeometry(org.json.JSONObject geoJsonGeometry)
Parses a single GeoJSON geometry object containing a coordinates array or a geometries array
if it has type GeometryCollection
|
public static Geometry parseGeometry(org.json.JSONObject geoJsonGeometry)
geoJsonGeometry
- geometry object to parse