Coder Social home page Coder Social logo

geodjango-tigerleaflet-example's Introduction

geodjango-tigerleaflet-example

Example project for geodjango-tigerleaflet app

Built with Cookiecutter Django
License:MIT

Deployment

This repo shows a basic usage of the geodjango-tigerleaflet app.

This project requires:
  • A postgresql database with postgis extension

` psql CREATE DATABASE database_name OWNER user_name; \connect database_name; CREATE EXTENSION postgis; `

  • geodjango-tigerline populated with state and county TIGER data

` wget ftp://ftp2.census.gov/geo/tiger/TIGER2016/STATE/tl_2016_us_state.zip unzip tl_2016_us_state.zip -d tl_2016_us_state.zip wget ftp://ftp2.census.gov/geo/tiger/TIGER2016/COUNTY/tl_2016_us_county.zip unzip tl_2016_us_county.zip -d tl_2016_us_county.zip python manage.py load_tigerleaflet --path=./ <it may take several minutes to load all the state/county data> `

Fire up the web server, navigate to index.html and look through the maps.

Todo

  • automate the downloading, unzipping, importing of tiger data
  • make the tigerleaflet module more generic
  • get tigerline changes accepted and push tigerline models into own package

Thanks

Many thanks to the following:

geodjango-tigerleaflet-example's People

Contributors

jlillest avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.