Package org.geotools.data.mongodb
Class GeoJSONMapper
- Object
- 
- AbstractCollectionMapper
- 
- GeoJSONMapper
 
 
- 
- All Implemented Interfaces:
- CollectionMapper
 
 public class GeoJSONMapper extends AbstractCollectionMapper Maps a collection containing valid GeoJSON.- Author:
- Justin Deoliveira, OpenGeo
 
- 
- 
Field Summary- 
Fields inherited from class AbstractCollectionMapperMONGO_OBJECT_FEATURE_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description GeoJSONMapper()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeatureTypebuildFeatureType(Name name, DBCollection collection)GeometrygetGeometry(DBObject obj)StringgetGeometryPath()StringgetPropertyPath(String property)voidsetGeometry(DBObject obj, Geometry g)DBObjecttoObject(Geometry g)- 
Methods inherited from class AbstractCollectionMapperbuildFeature
 
- 
 
- 
- 
- 
Method Detail- 
getGeometryPathpublic String getGeometryPath() 
 - 
getGeometrypublic Geometry getGeometry(DBObject obj) 
 - 
toObjectpublic DBObject toObject(Geometry g) 
 - 
setGeometrypublic void setGeometry(DBObject obj, Geometry g)
 - 
buildFeatureTypepublic SimpleFeatureType buildFeatureType(Name name, DBCollection collection) 
 
- 
 
-