View the source of this content author's blog
This app gives you a fairly thorough database to do most geocoding right in Django.
If you have a point, or lat/long you can use one/or multiple model(s) to extract data from that point, zipcode, county, country, state, etc.
The layers are composed of multiple open sources, and you can add models as needed. Addition Layer sources
*add django_geo_world to your INSTALLED_APPS settings.py *run syncdb to create db tables
- All layers are imported by default
- If you want to change default layers loaded, change true/false in world/load.py
To initialize layer data launch:
python manage.py shell
from django_geo_world.world import load load.run()
Sample app uses PostGre + PostGIS database.
Make sure to enable GIS extensions on your database, more information on how to setup Django + PostGIS
- Django Docs sources
- Add more shapefiles to list ** Streets ** Places ** Other Census Data
- Create helper methods to search through all models and return information gathered from all
- Further Documentation
- Add Unit Tests