development.rst 1.4 KB

1234567891011121314151617181920212223242526
  1. .. _spatialjson_development:
  2. Development Status
  3. ==================
  4. The SpatialJSON format is still a playground for implementing several optimizations to transfer
  5. even huge amounts of spatial data from the server to the client efficiently:
  6. #. **Opt. 1: Removing redundant schema information**, see :doc:`topic <schema>`
  7. #. **Opt. 2: Removing redundant attribute values (e. g. shared string table)**, see :doc:`topic <attributes>`
  8. #. Opt. 3: Handling sparse rows (most values are NULL) more efficiently
  9. #. Opt. 4: Reducing space required for geometries (e. g. differential coordinates)
  10. Bold items have already been implemented.
  11. The shown optimizations are ordered from *simple to implement* to *hard to implement* (not *really*
  12. hard, however). That's also the intended order of implementation. Although some
  13. optimizations are optional, all optimizations could be in effect at the same time. Then, each
  14. optimization contributes his part to lower the space required for encoding a certain set of
  15. features.
  16. In some cases, however, it may be useful to specify which optimizations shall be used for a
  17. request. Several techniques are available to give a client the ability to specify the set of
  18. SpatialJSON optimizations it is able or willing to use (e. g. parameter ``format_options``,
  19. additional ``outputFormat`` parameters). It's still not clear how this will be implemented and how
  20. fine grained that will be.