public class JsonFeature extends Object
| Constructor and Description |
|---|
JsonFeature() |
JsonFeature(String id,
String type,
BBox bbox,
com.vividsolutions.jts.geom.Geometry geometry,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
BBox |
getBBox() |
com.vividsolutions.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(com.vividsolutions.jts.geom.Geometry geometry) |
void |
setId(String id) |
void |
setProperties(Map<String,Object> properties) |
void |
setType(String type) |
String |
toString() |
public String getId()
public String getType()
public BBox getBBox()
public boolean hasGeometry()
public com.vividsolutions.jts.geom.Geometry getGeometry()
public boolean hasProperties()
public void setId(String id)
public void setType(String type)
public void setBbox(BBox bbox)
public void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
Copyright © 2012–2018. All rights reserved.