public class GeoJSONMapper extends AbstractCollectionMapper
MONGO_OBJECT_FEATURE_KEY
Constructor and Description |
---|
GeoJSONMapper() |
Modifier and Type | Method and Description |
---|---|
SimpleFeatureType |
buildFeatureType(Name name,
DBCollection collection) |
Geometry |
getGeometry(DBObject obj) |
String |
getGeometryPath() |
String |
getPropertyPath(String property) |
void |
setGeometry(DBObject obj,
Geometry g) |
DBObject |
toObject(Geometry g) |
buildFeature
public String getGeometryPath()
public Geometry getGeometry(DBObject obj)
public DBObject toObject(Geometry g)
public void setGeometry(DBObject obj, Geometry g)
public SimpleFeatureType buildFeatureType(Name name, DBCollection collection)
Copyright © 1996–2019 Geotools. All rights reserved.