A vacant lot viewer and organizing platform for Philadelphia, roughly based on 596 Acres.
Install mapnik.
Living Lots Philly uses Django and GeoDjango. The rest of the requirements are in requirements.txt:
pip install -r requirements/base.txt pip install -r requirements/local.txt
Once the requirements are installed, create a PostGIS database as described in
settings/base.py
. Then get Django running on that database:
django-admin.py syncdb django-admin.py migrate
Then fire up the server (we're using django-extensions for nice in-browser debugging):
django-admin.py runserver_plus
Once you have the site running, you'll probably want to populate it with some
data. This is currently slightly labor-intensive. First, download the
parcels data and unzip
it into your DATA_ROOT
. Then load those parcels:
django-admin.py shell > from phillydata.parcels.load import load_parcels > load_parcels()
This will take a few minutes. From here, the data loads in a bit of a trickle via django-external-data-sync. Once the parcels have loaded, load the fixtures that define these:
django-admin.py loaddata data_sources
This fixture is in the phillydata_local
app. Then run syncexternaldata:
django-admin.py syncexternaldata
and this will start loading data from all of the data sources listed in the fixture above.
Apps specific to Philadelphia's data are grouped in the package
phillydata
.
Living Lots Philly is released under the GNU Affero General Public License, version 3.