I would like to build a django webapp. One part of this should allow the user to interactively select geographic areas from a map. The map should come from openstreetmap, and the user should be able to do different kinds of selections:
- freehand
- rectangles
- circles
For further processing, the selected area needs to be converted into a shapefile / OGR geometry.
Probably there are already solutions for the individual steps, and I'll have to integrate those. So my question is:
- What's the best way to display a OSM map in my django app?
- How do I select the regions?
- How can I convert the selection to an OGR geometry?
Note: If I should make this into seperate questions, let me know!