| 37 | == Storage == |
| 38 | For portability, the default storage for Features is the normal database via Web2Py's [http://mdp.cti.depaul.edu/examples/default/orm DAL]. |
| 39 | |
| 40 | In order to support Lines & Polygons we need to store as [http://en.wikipedia.org/wiki/Well-known_text WKT] |
| 41 | * UI for Points can hide this behind simple Lat/Lon |
| 42 | * Q: Which lib best for this? |
| 43 | * Shapely: http://trac.gispython.org/lab/wiki/Shapely |
| 44 | * OGR: http://www.gdal.org/ogr/osr_tutorial.html |
| 45 | |
| 46 | An options should be provided to store in [http://postgis.refractions.net PostGIS] instead, where available, as then can have spatial indexes for speed.[[BR]] |
| 47 | Could we extend DAL for spatial indexes? |
| 48 | |
| 49 | Q: integrate [http://featureserver.org FeatureServer]? |
| 50 | |
| 51 | ---- |