public class JsonFeature extends Object
Constructor and Description |
---|
JsonFeature() |
JsonFeature(String id,
String type,
BBox bbox,
org.locationtech.jts.geom.Geometry geometry,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
BBox |
getBBox() |
org.locationtech.jts.geom.Geometry |
getGeometry() |
String |
getId() |
Map<String,Object> |
getProperties() |
Object |
getProperty(String key) |
String |
getType() |
boolean |
hasGeometry() |
boolean |
hasProperties() |
void |
setBbox(BBox bbox) |
void |
setGeometry(org.locationtech.jts.geom.Geometry geometry) |
void |
setId(String id) |
void |
setProperties(Map<String,Object> properties) |
String |
toString() |
public String getId()
public String getType()
public BBox getBBox()
public boolean hasGeometry()
public org.locationtech.jts.geom.Geometry getGeometry()
public boolean hasProperties()
public void setId(String id)
public void setBbox(BBox bbox)
public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
Copyright © 2012–2020. All rights reserved.