Representing geographical points/polygons in Python/Django
I'm bui开发者_运维知识库lding 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!
You're lucky, Django has maybe the best GIS support of all web frameworks:
GeoDjango
精彩评论