wiki:BluePrintGISImportExport

Blueprint for GIS Import/Export

XML

We need to be able to Import & Export these XML formats to/from the Database:

  • GeoRSS (URL fetch/publish)
    • Export done
  • GPX (File upload/download)
    • Export done
  • KML (File upload/download & URL fetch/publish)
    • Export done
  • OSM (File upload/download)
    • Import/Export done, but currently only a few Feature Classes mapped
  • GML (? Low priority, not used much in real world)

Other formats which may be useful are Shapefiles, PostGIS & JSON.

These should be representations added to the RESTlike controller.

Rather than reinventing the wheel, we could consider wrapping FeatureServer to do a lot of this work for us (like Web2Py uses CherryPy) since it is WSGI-based.
Alternatively we could look to borrow code from it.

The XML conversion is probably best-done using XSL stylesheets:

Relevant XSDs:

Sahan Eden uses S3XRC for our XML Import/Export which uses lxml:

Other options are available:

CSV to KML Converter:

This is another option for Import (via Python structures):

XML links:


Geotagged Photos

We should also be able to import Geotagged Photos & have these display on the Map.

Feature Metadata already includes an Image - so the work needed is just in terms of reading the Lat/Lon from the Tag & providing a UI:

Most developed OSS tools are:

Python works-in-progress here:


GIS BluePrints

Last modified 14 years ago Last modified on 06/11/10 14:42:54
Note: See TracWiki for help on using the wiki.