|Version 6 (modified by 13 years ago) ( diff ),|
This page hosts the detailed specification for the Blueprint for the GIS Import/Export.
We need to be able to Import & Export these XML formats to/from the Database:
- GeoRSS (URL fetch/publish)
- GPX (File upload/download)
- GML (? Low priority, not used much in real world)
- KML (File upload/download & URL fetch/publish)
- OSM (File upload/download)
These should be representations added to the BluePrintREST RESTlike controller.
The conversion is probably best-done using an XSD parser:
Many options available for XML Import/Export, e.g.:
- PyRXP: http://www.reportlab.org/pyrxp.html
- Faster & optionally validating (DTD, XSD?), but requires compiling into Python so less portable (unless using pyexpat wrapper)
- XSD->DTD conversion (our schema are in XSD format)
- pyexpat (non-validating & slower, but built-in to Python 2)
This is another option for Import (via Python structures):