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.

Source Distribution

geodjango-tigerleaflet-0.1.0.tar.gz (43.5 kB view hashes)

Uploaded Source

Built Distribution

geodjango_tigerleaflet-0.1.0-py2.py3-none-any.whl (48.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page