Package org.n52.shetland.ogc.gml
Interface FeatureWith.FeatureWithGeometry
- All Known Implementing Classes:
AbstractMonitoringFeature,AbstractSamplingFeature,SamplingFeature,SfSpecimen,TsmlMonitoringFeature,WmlMonitoringPoint
- Enclosing interface:
FeatureWith
public static interface FeatureWith.FeatureWithGeometry
-
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.GeometryGet feature geometrydefault booleanCheck whether geometry is setvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry) Set feature geometry, checks whether srid is valid
-
Method Details
-
getGeometry
org.locationtech.jts.geom.Geometry getGeometry()Get feature geometry- Returns:
- Feature geometry
-
setGeometry
void setGeometry(org.locationtech.jts.geom.Geometry geometry) Set feature geometry, checks whether srid is valid- Parameters:
geometry- Geometry to set
-
isSetGeometry
default boolean isSetGeometry()Check whether geometry is set- Returns:
true, if geometry is set
-