use of org.geotools.feature.GeometryAttributeImpl in project GeoGig by boundlessgeo.
the class GeogigSimpleFeature method getDefaultGeometryProperty.
@Override
public GeometryAttribute getDefaultGeometryProperty() {
GeometryDescriptor geometryDescriptor = featureType.getGeometryDescriptor();
GeometryAttribute geometryAttribute = null;
if (geometryDescriptor != null) {
Object defaultGeometry = getDefaultGeometry();
geometryAttribute = new GeometryAttributeImpl(defaultGeometry, geometryDescriptor, null);
}
return geometryAttribute;
}
Aggregations