Package | Description |
---|---|
com.mongodb.client.model.geojson |
This package contains classes that represent GeoJSON objects.
|
Modifier and Type | Method and Description |
---|---|
Position |
Point.getCoordinates()
Gets the GeoJSON coordinates of this point.
|
Position |
Point.getPosition()
Gets the position of this point.
|
Modifier and Type | Method and Description |
---|---|
List<List<Position>> |
MultiLineString.getCoordinates()
Gets the GeoJSON coordinates of this MultiLineString
|
List<Position> |
LineString.getCoordinates()
Gets the GeoJSON coordinates of this LineString.
|
List<Position> |
MultiPoint.getCoordinates()
Gets the GeoJSON coordinates of this MultiPoint.
|
List<Position> |
PolygonCoordinates.getExterior()
Gets the exterior of the polygon.
|
List<Position> |
Polygon.getExterior()
Gets the exterior coordinates.
|
List<List<Position>> |
PolygonCoordinates.getHoles()
Gets the holes in the polygon.
|
List<List<Position>> |
Polygon.getHoles()
Get the holes in this polygon.
|
Constructor and Description |
---|
Point(CoordinateReferenceSystem coordinateReferenceSystem,
Position coordinate)
Construct an instance with the given coordinate and coordinate reference system.
|
Point(Position coordinate)
Construct an instance with the given coordinate.
|
Constructor and Description |
---|
LineString(CoordinateReferenceSystem coordinateReferenceSystem,
List<Position> coordinates)
Construct an instance with the given coordinates and coordinate reference system.
|
LineString(List<Position> coordinates)
Construct an instance with the given coordinates.
|
MultiLineString(CoordinateReferenceSystem coordinateReferenceSystem,
List<List<Position>> coordinates)
Construct an instance with the given coordinates and coordinate reference system.
|
MultiLineString(List<List<Position>> coordinates)
Construct an instance with the given coordinates.
|
MultiPoint(CoordinateReferenceSystem coordinateReferenceSystem,
List<Position> coordinates)
Construct an instance with the given coordinates and coordinate reference system.
|
MultiPoint(List<Position> coordinates)
Construct an instance with the given coordinates.
|
Polygon(List<Position> exterior,
List<Position>... holes)
Construct an instance with the given coordinates.
|
PolygonCoordinates(List<Position> exterior,
List<Position>... holes)
Construct an instance.
|
Copyright © 2016. All Rights Reserved.