public class Feature extends GeoJsonObject
| Constructor and Description |
|---|
Feature()
Constructor
|
Feature(Geometry geometry)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
SimpleFeature |
getFeature()
Get the simple feature
|
Geometry |
getGeometry()
Get the geometry
|
GeometryType |
getGeometryType()
Get the geometry type
|
String |
getId()
Get the feature id
|
Map<String,Object> |
getProperties()
Get the properties
|
Geometry |
getSimpleGeometry()
Get the simple feature geometry
|
String |
getType()
Get the GeoJSON object type
|
void |
setGeometry(Geometry geometry)
Set the geometry
|
void |
setId(String id)
Set the feature id
|
void |
setProperties(Map<String,Object> properties)
Set the properties
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic Feature()
public Feature(Geometry geometry)
geometry - geometrypublic Geometry getGeometry()
public void setGeometry(Geometry geometry)
geometry - geometry objectpublic void setProperties(Map<String,Object> properties)
properties - properties mappublic String getId()
public void setId(String id)
id - feature idpublic SimpleFeature getFeature()
public Geometry getSimpleGeometry()
public GeometryType getGeometryType()
public String getType()
getType in class GeoJsonObjectCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.