public class GeometryCollection extends Geometry
| Constructor and Description |
|---|
GeometryCollection()
Constructor
|
GeometryCollection(GeometryCollection<Geometry> geometryCollection)
Constructor
|
GeometryCollection(List<Geometry> geometries)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Geometry> |
getGeometries()
Returns geometries as a GeoJSON Geometry list
|
Geometry |
getGeometry()
Get the simple geometry
|
String |
getType()
Get the GeoJSON object type
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic GeometryCollection()
public GeometryCollection(List<Geometry> geometries)
geometries - list of geometriespublic GeometryCollection(GeometryCollection<Geometry> geometryCollection)
geometryCollection - simple geometry collectionpublic List<Geometry> getGeometries()
public Geometry getGeometry()
getGeometry in class Geometrypublic String getType()
getType in class GeoJsonObjectCopyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.