Package | Description |
---|---|
org.mongodb.morphia.geo | |
org.mongodb.morphia.query |
Modifier and Type | Method and Description |
---|---|
static Polygon |
GeoJson.polygon(LineString exteriorBoundary,
LineString... interiorBoundaries)
Lets you create a Polygon representing a
GeoJSON
Polygon type.
|
static Polygon |
GeoJson.polygon(Point... points)
Create a new Polygon representing a GeoJSON
Polygon type.
|
Modifier and Type | Method and Description |
---|---|
List<Polygon> |
MultiPolygon.getCoordinates() |
Modifier and Type | Method and Description |
---|---|
static MultiPolygon |
GeoJson.multiPolygon(Polygon... polygons)
Create a new MultiPolygon representing a GeoJSON
MultiPolygon type.
|
Modifier and Type | Method and Description |
---|---|
T |
FieldEnd.within(Polygon boundary)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
|
T |
FieldEndImpl.within(Polygon boundary) |
T |
FieldEnd.within(Polygon boundary,
CoordinateReferenceSystem crs)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
|
T |
FieldEndImpl.within(Polygon boundary,
CoordinateReferenceSystem crs) |
Copyright © 2016. All rights reserved.