| 1 | == GIS Import/Export == |
| 2 | |
| 3 | This page hosts the detailed specification for the [https://blueprints.launchpad.net/sahana3/+spec/gis-import-export Blueprint for the GIS Import/Export]. |
| 4 | |
| 5 | We need to be able to Import & Export these XML formats to/from the Database: |
| 6 | * GeoRSS (URL fetch/publish) |
| 7 | * GPX (File upload/download) |
| 8 | * GML (? Low priority, not used much in real world) |
| 9 | * KML (File upload/download & URL fetch/publish) |
| 10 | * OSM (File upload/download) |
| 11 | |
| 12 | This is probably best-done using an XSD parser: |
| 13 | * [http://georss.org GeoRSS] |
| 14 | * http://georss.org/xml/1.1/georss.xsd |
| 15 | * http://georss.org/xml/1.1/gmlgeorss.xsd |
| 16 | * GPX |
| 17 | * http://www.topografix.com/gpx/1/1/gpx.xsd |
| 18 | * GML |
| 19 | * http://schemas.opengis.net/gml/3.2.1/ |
| 20 | * KML |
| 21 | * http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd |
| 22 | * OSM |
| 23 | * http://dev.openstreetmap.org/~kleptog/osm-0.5.dtd |
| 24 | |
| 25 | |
| 26 | This is one option for Import (via Python structures): |
| 27 | * http://www.rexx.com/~dkuhlman/generateDS.html |