public class MultiPolygon extends Geometry
| Constructor and Description |
|---|
MultiPolygon()
Constructor
|
MultiPolygon(List<List<List<Position>>> positions)
Constructor
|
MultiPolygon(mil.nga.sf.MultiPolygon multiPolygon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<List<List<Position>>> |
getCoordinates()
Returns coordinates as a GeoJSON Position list
|
mil.nga.sf.Geometry |
getGeometry()
Get the simple geometry
|
String |
getType()
Get the GeoJSON object type
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic MultiPolygon()
public MultiPolygon(List<List<List<Position>>> positions)
positions - position listpublic MultiPolygon(mil.nga.sf.MultiPolygon multiPolygon)
multiPolygon - simple multi polygonpublic List<List<List<Position>>> getCoordinates()
public mil.nga.sf.Geometry getGeometry()
getGeometry in class Geometrypublic String getType()
getType in class GeoJsonObjectCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.