Leaflet for Geodjango with US TIGER State and County data
Project description
=============================
geodjango-tigerleaflet
=============================
Leaflet setup for US Tiger State and County data
Quickstart
----------
Install geodjango-tigerleaflet::
pip install geodjango-tigerleaflet
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'tigerleaflet',
...
)
Add geodjango-tigerleaflet's URL patterns:
.. code-block:: python
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
Todo
--------
* Push models back into geodjango-tigerline once it's upgraded to use Django 1.10
* Make the current templates more generic through the use of template tags, needs to be coupled with the provided javascript
* Better documentation on pypi
* Offer direct download and import of census data (like django-brasil-municipios)
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
* `geodjango-tigerline`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
.. _`geodjango-tigerline`_: https://github.com/adamfast/geodjango-tigerline
History
-------
0.1.0 (2016-12-21)
++++++++++++++++++
* First release on PyPI.
geodjango-tigerleaflet
=============================
Leaflet setup for US Tiger State and County data
Quickstart
----------
Install geodjango-tigerleaflet::
pip install geodjango-tigerleaflet
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'tigerleaflet',
...
)
Add geodjango-tigerleaflet's URL patterns:
.. code-block:: python
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
Todo
--------
* Push models back into geodjango-tigerline once it's upgraded to use Django 1.10
* Make the current templates more generic through the use of template tags, needs to be coupled with the provided javascript
* Better documentation on pypi
* Offer direct download and import of census data (like django-brasil-municipios)
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
* `geodjango-tigerline`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
.. _`geodjango-tigerline`_: https://github.com/adamfast/geodjango-tigerline
History
-------
0.1.0 (2016-12-21)
++++++++++++++++++
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geodjango-tigerleaflet-0.2.0.tar.gz.
File metadata
- Download URL: geodjango-tigerleaflet-0.2.0.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9669465f21c791294f7c699788af39fc74c7f4052debbdf3d168b487669f033e
|
|
| MD5 |
70e1cfd1f6fd3385340c7ef405e21247
|
|
| BLAKE2b-256 |
1c69190aee33d0a9b4f1c6b6a8d403fcac31c08afc25c30caa202aa5a1a5561b
|
File details
Details for the file geodjango_tigerleaflet-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: geodjango_tigerleaflet-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c06440e8454b26609af9ff81ddfbac3745f29aa124c3775bc4611c44f09cd233
|
|
| MD5 |
a7dd443ce803148f37bbf28fc6cd15c3
|
|
| BLAKE2b-256 |
78518334c20fb3e3b4c2c29a3080a2251f1e5b8f64bd8c997d38dda2144da6e4
|