This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This app is intended to make it easier to add TIGER/Line data to a GeoDjango project and save people from writing this same code over and over (collectively).

It is not (yet) exhaustive, it’s just what I had and have needed in the past. If you have models / load scripts for other data in the set, please fork/add and send me a pull request if you add other shapefiles. If you come up with useful manager methods, I’d love to see those too.

It’s been tested and used with Django 1.8 and PostGIS + PostgreSQL. I’ve used it with other versions since 1.1 over time but it’s probably best on 1.6+ now.

Install

Download the 2015 Tigerline files for all zipcodes, all states, and all counties

ftp://ftp2.census.gov/geo/tiger/TIGER2015/

  • Zipcode Tabulation Areas (for all states) - see ZCTA5/ folder, download tl_2015_us_zcta510.zip
  • States (and Equivalents) (for all states) - see STATE/ folder, download tl_2015_us_state.zip
  • Counties (and Equivalents) (for all states) - see COUNTY/ folder, download tl_2015_us_county.zip

Unzip the files

Configure django.contrib.gis as described in the django docs.

Add “django.contrib.gis” and “tigerline” to INSTALLED_APPS

run python manage.py migrate which will run the migrations and make sure database tables are created.

If you want to import all three: run python manage.py load_tigerline –path=~/Path/to/shapefiles

Or there are individual management commands if you only need one set: run python manage.py load_counties –path=~/Path/to/shapefiles run python manage.py load_states –path=~/Path/to/shapefiles run python manage.py load_zipcodes –path=~/Path/to/shapefiles

Release History

Release History

1.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geodjango-tigerline-1.0.1.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Sep 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting