public class Feature extends GeoJsonObject
| Constructor and Description |
|---|
Feature() |
Feature(Geometry geometry) |
Feature(JMapGeoElement jmapElement) |
Feature(JMapGeoElement jmapElement,
Attribute[] attributes) |
Feature(JMapGeoElement jmapElement,
Attribute[] attributes,
boolean excludeNullValues) |
Feature(JMapGeoElement jmapElement,
Attribute[] attributes,
boolean excludeNullValues,
Projection sourceProjection) |
Feature(JMapGeoElement jmapElement,
Attribute[] attributes,
boolean excludeNullValues,
Projection sourceProjection,
Project project,
VectorLayerInfo vectorLayerInfo) |
Feature(JMapGeoElement jmapElement,
java.util.List<LayerAttribute> layerAttributes)
Deprecated.
|
Feature(JMapGeoElement jmapElement,
java.util.List<LayerAttribute> layerAttributes,
boolean excludeNullValues)
Deprecated.
|
Feature(org.json.simple.JSONObject geometryJson) |
Feature(K2DElement k2DElement) |
| Modifier and Type | Method and Description |
|---|---|
SimpleFeature |
getFeature() |
Geometry |
getGeometry() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.String |
getType() |
void |
setGeometry(Geometry geometry) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
JMapGeoElement |
toJMapGeoElement() |
JMapGeoElement |
toJMapGeoElement(Attribute[] attributes) |
public Feature()
public Feature(Geometry geometry)
public Feature(JMapGeoElement jmapElement)
@Deprecated public Feature(JMapGeoElement jmapElement, java.util.List<LayerAttribute> layerAttributes)
public Feature(JMapGeoElement jmapElement, Attribute[] attributes)
@Deprecated public Feature(JMapGeoElement jmapElement, java.util.List<LayerAttribute> layerAttributes, boolean excludeNullValues)
public Feature(JMapGeoElement jmapElement, Attribute[] attributes, boolean excludeNullValues)
public Feature(JMapGeoElement jmapElement, Attribute[] attributes, boolean excludeNullValues, Projection sourceProjection)
public Feature(JMapGeoElement jmapElement, Attribute[] attributes, boolean excludeNullValues, Projection sourceProjection, Project project, VectorLayerInfo vectorLayerInfo)
public Feature(K2DElement k2DElement)
public Feature(org.json.simple.JSONObject geometryJson)
public Geometry getGeometry()
public void setGeometry(Geometry geometry)
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
public SimpleFeature getFeature()
public java.lang.String getType()
getType in class GeoJsonObjectpublic JMapGeoElement toJMapGeoElement()
public JMapGeoElement toJMapGeoElement(Attribute[] attributes)