index.rst 1.2 KB

123456789101112131415161718192021222324252627282930
  1. .. _spatialjson:
  2. SpatialJSON WFS Output Format Extension
  3. =======================================
  4. This module adds the SpatialJSON WFS output format. The SpatialJSON format is a more compact and
  5. memory-friendly variant of GeoServer's GeoJSON format. It aims to save space by applying several
  6. optimizations to traditional GeoJSON format for simple feature results. Most of these optimizations
  7. work by removing redundand information from the JSON-encoded features.
  8. A service exception is thrown if the result contains complex features as the SpatialJSON format
  9. does not handle those.
  10. .. note:: The SpatialJSON format is **not compatible** with GeoJSON. A SpatialJSON enabled reader is required to decode features transferred in SpatialJSON format.
  11. This module adds two additional WFS output formats for requesting simple features in SpatialJSON
  12. format:
  13. - ``application/json; subtype=json/spatial`` for requesting SpatialJSON
  14. - ``text/javascript; subtype=json/spatial`` for requesting SpatialJSON as a JSONP request
  15. .. warning:: At the time of writing, this format is still *work in progress* and changes may be applied in the future.
  16. .. toctree::
  17. :maxdepth: 1
  18. installation
  19. development
  20. schema
  21. attributes