| 43 | | For portability, the default storage for Features is the normal database via Web2Py's [http://mdp.cti.depaul.edu/examples/default/orm DAL]. |
| 44 | | |
| 45 | | In order to support Lines & Polygons we need to store as [http://en.wikipedia.org/wiki/Well-known_text WKT] |
| 46 | | * UI for Points can hide this behind simple Lat/Lon |
| 47 | | * Q: Which lib best for this? |
| 48 | | * !WorldMill: http://trac.gispython.org/lab/wiki/WorldMill |
| 49 | | * wraps OGR: http://www.gdal.org/ogr/osr_tutorial.html |
| 50 | | * Shapely: http://pypi.python.org/pypi/Shapely/ |
| 51 | | * wraps Geos: http://trac.osgeo.org/geos/ |
| 52 | | |
| 53 | | An option should be provided to store in [http://postgis.refractions.net PostGIS] instead, where available, as then can have spatial indexes for speed.[[BR]] |
| 54 | | Q: Could we extend DAL for spatial indexes? |
| 55 | | * [http://groups.google.com/group/web2py/browse_thread/thread/7551b50ef3ca72a8 DAL can be bypassed] to allow other ORMs to be used: {{{response.custom_commit=lambda: do_commit()}}} |
| 56 | | |
| 57 | | Q: integrate [http://featureserver.org FeatureServer]? |
| | 43 | [wiki:BluePrintGISStorage] |