GeoDjango 清风(2008-09-23)
Contents
简介
The GIS branch intends to be a world-class geographic web framework. Our goal is to make it as easy as possible to build GIS web applications and harness the power of spatially enabled data.
目前 GeoDjango 已经合并到 Django 1.0中
GeoDjango Install
本人只在FreeBSD下进行过安装测试
基础准备
首先利用ports安装如下软件:
Django Trunk or >=1.0 betas
- PostgreSQL
- PostGIS
- Psycopg2
- GEOS
- Proj.4
- GDAL
ports不多介绍了,详细见这里:
http://www.freebsd.org/doc/zh_CN/books/handbook/ports-using.html
安装后的测试
推荐使用 geodjango-basic-apps 来测试 :
http://code.google.com/p/geodjango-basic-apps/
最终效果:
利用Google Maps
效果图:
代码:
全部Google Maps封装:
http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/maps/google/overlays.py
使用过程中可能遇到的错误
全部记录在这里: