public Geometry toGeometry ( final FeatureCollection featureCollection ) { if ( featureCollection == null ) { return null ; } final Geometry geometry = new Geometry ( ) ; final Feature location = populateBoundaries ( geometry , featureCollection ) ; populateLocation ( geometry , location ) ; return geometry ; }
Create a Geometry from a GeoServiceGeometry .