Archive for January, 2010

GeoDjango and Friends

Wednesday, January 13th, 2010

I gave a talk last night to the Portland Python User Group at Webtrends on the geospatial capabilities of the Django web application framework.  In addition to showing off GeoDjango, I took their basic WorldBorders sample and extended it to provide a GeoJSON web service that OpenLayers could consume.

Presentation Slides

World_Borders Tutorial_Plus (Source Code)

I essentially took a render_to_geojson utility developed by my friend Dane Springmeyer and put together a quick and dirty GeoJSON web service.  The output from this service is ready to be consumed by an OpenLayers GeoJSON protocol.  I then combined that with the GeoExt ‘Feature Store In An Ext Grid’ example and gave it a nice OpenStreetMap base layer.

(more…)