Representing geographical points/polygons in Python/Django
- by Cornflake
I'm building a website in Django, and I want one of my datatypes to be a geographical polygon. I want to mark points on a map (say, in Google Maps) and then store the resulting polygon in the database.
Is there any way to do it that will save me the work of typing all the longitudes and latitudes manually?
I guess I'm looking both for a geographical library for Python, and for a special website that will let me mark points on the map and save them in a standard format.
Thanks!