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