class GeoJSONReader extends java.lang.Object implements Reader
Read a Feature from a GeoJSON String.
String geojson = """{"type":"Feature","geometry":{"type":"Point","coordinates":[111,-47]},"properties":{"name":"House","price":12.5},"id":"house1"}""" GeoJSONReader reader = new GeoJSONReader() Feature actual = reader.read(geojson)
Constructor and description |
---|
GeoJSONReader
() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Read a Feature from a GeoJSON String.
str
- The GeoJSON String