Skip to main content

Leaflet for Geodjango with US TIGER State and County data

Project description

Leaflet setup for US Tiger State and County data

Quickstart

Install geodjango-tigerleaflet:

pip install geodjango-tigerleaflet

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'tigerleaflet',
    ...
)

Add geodjango-tigerleaflet’s URL patterns:

from tigerleaflet import urls as tigerleaflet_urls


urlpatterns = [
    ...
    url(r'^', include(tigerleaflet_urls)),
    ...
]

Features

  • GeoJson urls for easy map creation
  • example Leaflet pages for displaying and navigating through state/county data

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2016-12-21)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for geodjango-tigerleaflet, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size geodjango_tigerleaflet-0.1.0-py2.py3-none-any.whl (48.1 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size geodjango-tigerleaflet-0.1.0.tar.gz (43.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page