Version 4 (modified by 15 years ago) ( diff ) | ,
---|
GIS Proxy
OpenLayers needs a Proxy for some functions (e.g. GeoRSS, WFS) due to Javascript cross-domain security:
Options to start from:
- Rewrite the OpenLayers example as a Web2Py controller function: http://trac.openlayers.org/browser/trunk/openlayers/examples/proxy.cgi
- Port the Django HTTP Proxy: http://pypi.python.org/pypi/django-http-proxy/
We should then make it's list of allowed hosts configurable via the Map Service Catalogue (done transparently in the background whenever needed).
Potentially this could be useful for other modules as well.
Note:
See TracWiki
for help on using the wiki.