tinyows
tinyows copied to clipboard
Code Refactoring - Extensible Output format
Right now with only 2 and half kind of output format, GetFeature file is still readable, but not really designed to allow several other formats to be added.
With current PostGIS export functions we could easily imagine to produce GeoRSS, unstyled SVG, X3D, KML...
OpenLayers and/or GeoExt output could also be a good way to provide a quick demonstration (as long as data are small enough to been handled in a JS browser)
There's three graduate steps/levels to handle it:
- redesign GetFeature to separate clearly common treatment, and put each format in a dedicated file
- allow from userland to define an OutputFormat static template
- a generic Python API could also be a way to allow from userland a user the choice to design is own output (if yes need surely to be also able to interact with schema validation stuff)
Target to 1.2.0 is at least to reach the first one
I will follow this ticket.