| 1 | == Storage == |
| 2 | For portability, the default storage for Features is the normal database via Web2Py's [http://mdp.cti.depaul.edu/examples/default/orm DAL]. |
| 3 | |
| 4 | In order to support Lines & Polygons we need to store as [http://en.wikipedia.org/wiki/Well-known_text WKT] |
| 5 | * UI for Points can hide this behind simple Lat/Lon |
| 6 | * [http://pypi.python.org/pypi/Shapely/ Shapely] used to do conversion |
| 7 | |
| 8 | An option should be provided to store in [http://postgis.refractions.net PostGIS] or [http://www.gaia-gis.it/spatialite Spatialite] instead, where available, as then can have spatial indexes for speed.[[BR]] |
| 9 | Q: Could we extend DAL for spatial indexes? |
| 10 | * [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()}}} |
| 11 | |
| 12 | Q: integrate [http://featureserver.org FeatureServer]? |
| 13 | ---- |
| 14 | [wiki:BluePrintGeographicInformationSystems GIS BluePrints] |