888 d8888 888b d888 888 8888888b. d8b 888
888 d88888 8888b d8888 888 888 Y88b Y8P 888
888 d88P888 88888b.d88888 888 888 888 888
888 d88P 888 888Y88888P888 .d88b. 888888 888d888 .d88b. 888 d88P 8888b. 888 888
888 d88P 888 888 Y888P 888 d8P Y8b 888 888P" d88""88b 8888888P" "88b 888 888
888 d88P 888 888 Y8P 888 88888888 888 888 888 888 888 T88b .d888888 888 888
888 d8888888888 888 " 888 Y8b. Y88b. 888 Y88..88P 888 T88b 888 888 888 888
88888888 d88P 888 888 888 "Y8888 "Y888 888 "Y88P" 888 T88b "Y888888 888 888
A pluggable GeoDjango app of the Los Angeles Metro Rail system. Geography, loosely coupled.
I gave a talk in December 2010 about why I think maps should be pluggable.
- A ready-to-serve model set that contains the latest GIS data released by Metro Rail.
- Fragmented rail lines in the government’s source file have been consolidated.
- Stops along each line have been connected to stations and lines. This is not done in the government’s separate source files.
- Geometry fields are published in three of the most common SRIDs, as well as their source projection.
- Simplified geometry fields that thin down the data for display on a single map.
- A read-only admin for reviewing the data
Before you begin, you will need to have a Django project with GeoDjango’s ‘django.contrib.gis’ app installed and configured. The official installation guide is here. The official tutorial is here. Both are excellent.
You can download it from PyPi.
pip install latimes-pluggablemaps-lametrorail
Or, pull the trunk from github
git clone git://github.com/datadesk/latimes-pluggablemaps-lametrorail.git
In settings.py’s INSTALLED_APPS tuple, add the following.
'la_metro_rail',
From the shell, enter:
python manage.py syncdb
From the same shell, enter the following.
python manage.py loadlametrorail
That’s it! You now fire up the Django admin or jump in the shell to start playing with the data.