public static int getGeometryTypeFromGeometry ( Geometry geometry ) { Integer sfsGeomCode = GEOM_TYPE_TO_SFS_CODE . get ( geometry . getGeometryType ( ) . toLowerCase ( ) ) ; if ( sfsGeomCode == null ) { return GeometryTypeCodes . GEOMETRY ; } else { return sfsGeomCode ; } }
Return the sfs geometry type identifier of the provided Geometry