Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
com.mongodb.client.model.geojson |
This package contains classes that represent GeoJSON objects.
|
Modifier and Type | Method and Description |
---|---|
static Bson |
Filters.geoIntersects(String fieldName,
Geometry geometry)
Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.
|
static Bson |
Filters.geoWithin(String fieldName,
Geometry geometry)
Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.
|
Modifier and Type | Class and Description |
---|---|
class |
GeometryCollection
A representation of a GeoJSON GeometryCollection.
|
class |
LineString
A representation of a GeoJSON LineString.
|
class |
MultiLineString
A representation of a GeoJSON MultiLineString.
|
class |
MultiPoint
A representation of a GeoJSON MultiPoint.
|
class |
MultiPolygon
A representation of a GeoJSON MultiPolygon.
|
class |
Point
A representation of a GeoJSON Point.
|
class |
Polygon
A representation of a GeoJSON Polygon.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Geometry> |
GeometryCollection.getGeometries()
Gets the list of Geometry objects in this collection.
|
Constructor and Description |
---|
GeometryCollection(CoordinateReferenceSystem coordinateReferenceSystem,
List<? extends Geometry> geometries)
Construct an instance with the given list of Geometry objects
|
GeometryCollection(List<? extends Geometry> geometries)
Construct an instance with the given list of Geometry objects
|
Copyright © 2016. All Rights Reserved.