| Package | Description |
|---|---|
| com.mongodb.client.model.geojson |
This package contains classes that represent GeoJSON objects.
|
| Modifier and Type | Method and Description |
|---|---|
PolygonCoordinates |
Polygon.getCoordinates()
Gets the GeoJSON coordinates of the polygon
|
| Modifier and Type | Method and Description |
|---|---|
List<PolygonCoordinates> |
MultiPolygon.getCoordinates()
Gets the coordinates.
|
| Constructor and Description |
|---|
Polygon(CoordinateReferenceSystem coordinateReferenceSystem,
PolygonCoordinates coordinates)
Construct an instance with the given coordinates and coordinate reference system.
|
Polygon(PolygonCoordinates coordinates)
Construct an instance with the given coordinates.
|
| Constructor and Description |
|---|
MultiPolygon(CoordinateReferenceSystem coordinateReferenceSystem,
List<PolygonCoordinates> coordinates)
Construct an instance.
|
MultiPolygon(List<PolygonCoordinates> coordinates)
Construct an instance.
|
Copyright © 2017. All Rights Reserved.