Class GeoJSONMapper

All Implemented Interfaces:
CollectionMapper

public class GeoJSONMapper extends AbstractCollectionMapper
Maps a collection containing valid GeoJSON.
Author:
Justin Deoliveira, OpenGeo
  • Constructor Details

    • GeoJSONMapper

      public GeoJSONMapper()
  • Method Details

    • getGeometryPath

      public String getGeometryPath()
    • getPropertyPath

      public String getPropertyPath(String property)
    • getGeometry

      public Geometry getGeometry(DBObject obj)
    • toObject

      public DBObject toObject(Geometry g)
    • setGeometry

      public void setGeometry(DBObject obj, Geometry g)
    • buildFeatureType

      public SimpleFeatureType buildFeatureType(Name name, DBCollection collection)