## page was renamed from zhWorkLogTemplate ##language:zh '''GeoDjango''' 清风(2008-09-23) <> ''GeoDjango的介绍和配置记录'' = 简介 = {{{ 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 == 安装后的测试 == {{http://geodjango.org/images/geodjango.png}} 推荐使用 geodjango-basic-apps 来测试 : http://code.google.com/p/geodjango-basic-apps/ 最终效果: {{http://f.hatena.ne.jp/images/fotolife/y/yanxu/20080923/20080923141941.png}} == 利用Google Maps == 效果图: {{http://f.hatena.ne.jp/images/fotolife/y/yanxu/20080923/20080923161138.png}} 代码: http://gist.github.com/11973 全部Google Maps封装: http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/maps/google/overlays.py == 使用过程中可能遇到的错误 == 全部记录在这里: http://gist.github.com/11973