Version 7 (modified by 15 years ago) ( diff ) | ,
---|
GIS Storage
For portability, the default storage for Features is the normal database via Web2Py's DAL.
In order to support Lines & Polygons we need to store as WKT
An option should be provided to store in PostGIS, Spatialite or even GeoCouch instead, where available, as then can have spatial indexes for speed.
Q: Could we extend DAL for spatial indexes?
- DAL can be bypassed to allow other ORMs to be used:
response.custom_commit=lambda: do_commit()
PostGIS
Since we store features in Lat/Lon then we need to use the geography_columns, which stay updated automatically :)
geog GEOGRAPHY(Point) geog GEOGRAPHY(Polygon)
Q: integrate FeatureServer?
Q: use GeoAlchemy?
Q: copy GeoDjango?
Note:
See TracWiki
for help on using the wiki.