Class Feature
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.feature.Feature
-
-
Constructor Summary
Constructors Constructor Description Feature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttribute(String attributeName)
Get attribute value.Map<String,Object>
getAttributes()
org.locationtech.jts.geom.Geometry
getGeometry()
String
getID()
Object
setAttribute(String attributeName, Object value)
Set attribute value.void
setGeometry(org.locationtech.jts.geom.Geometry geometry)
Set geometry.void
setID(String id)
Set feature identifier.
-
-
-
Method Detail
-
getID
public String getID()
- Returns:
- The feature identifier.
-
setID
public void setID(String id)
Set feature identifier.- Parameters:
id
-
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
- Returns:
- The feature Geometry
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
Set geometry.- Parameters:
geometry
-
-
getAttribute
public Object getAttribute(String attributeName)
Get attribute value.- Parameters:
attributeName
-- Returns:
-
-