Package org.geotools.data.mongodb
Class MongoGeometryBuilder
- Object
-
- MongoGeometryBuilder
-
public class MongoGeometryBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description MongoGeometryBuilder()
MongoGeometryBuilder(GeometryFactory geomFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Coordinate
toCoordinate(List<?> list)
Geometry
toGeometry(DBObject obj)
GeometryCollection
toGeometryCollection(BasicDBList obj)
LineString
toLineString(List<?> list)
MultiLineString
toMultiLineString(List<?> list)
MultiPoint
toMultiPoint(List<?> list)
MultiPolygon
toMultiPolygon(List<?> list)
DBObject
toObject(Envelope envelope)
DBObject
toObject(Geometry geom)
DBObject
toObject(GeometryCollection gc)
DBObject
toObject(LineString l)
DBObject
toObject(MultiLineString ml)
DBObject
toObject(MultiPoint mp)
DBObject
toObject(MultiPolygon mp)
DBObject
toObject(Point p)
DBObject
toObject(Polygon p)
Point
toPoint(List<?> list)
Polygon
toPolygon(List<?> list)
-
-
-
Constructor Detail
-
MongoGeometryBuilder
public MongoGeometryBuilder()
-
MongoGeometryBuilder
public MongoGeometryBuilder(GeometryFactory geomFactory)
-
-
Method Detail
-
toGeometry
public Geometry toGeometry(DBObject obj)
-
toObject
public DBObject toObject(Envelope envelope)
-
toObject
public DBObject toObject(Geometry geom)
-
toGeometryCollection
public GeometryCollection toGeometryCollection(BasicDBList obj)
-
toObject
public DBObject toObject(GeometryCollection gc)
-
toMultiPolygon
public MultiPolygon toMultiPolygon(List<?> list)
-
toObject
public DBObject toObject(MultiPolygon mp)
-
toMultiLineString
public MultiLineString toMultiLineString(List<?> list)
-
toObject
public DBObject toObject(MultiLineString ml)
-
toMultiPoint
public MultiPoint toMultiPoint(List<?> list)
-
toObject
public DBObject toObject(MultiPoint mp)
-
toObject
public DBObject toObject(Polygon p)
-
toLineString
public LineString toLineString(List<?> list)
-
toObject
public DBObject toObject(LineString l)
-
toObject
public DBObject toObject(Point p)
-
toCoordinate
public Coordinate toCoordinate(List<?> list)
-
-