Skip to content

hughbris/linz2osm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINZ-2-OSM

Requirements

  • Django 1.2-beta
  • PostgreSQL + PostGIS
  • Pydermonkey
  • Pygments
  • Django South

Install

  • make a settings_site.py file and add overrides for things like:

    • DATABASES
    • DEBUG, TEMPLATE_DEBUG
    • ADMINS, MANAGERS
    • MEDIA_ROOT
    • TEMPLATE_DIRS
    • SECRET_KEY
    • non-default databases are used as datasets, add a _description and _srid field to define.
  • run manage.py syncdb to build the DB tables. Creating a user is a good idea.

  • run manage.py migrate to apply DB migrations.

  • run manage.py createcachetable django_cache to add a cache table.

  • run manage.py loaddata v16_layers to populate the layer models.

  • run manage.py loaddata example_tags to load some example tags for road_cl, and some defaults for all layers.

  • run manage.py runserver and head to http://localhost:8000

  • have fun! :)

Support, Bugs, Ideas

New Datasets

To load some other IFF data, use the linz_topo scripts from nz-geodata-scripts to populate a PostGIS DB. Then, add it as a database in the settings file, (make sure it has _description and _srid defined) and it should just work.

About

Some tools for helping move LINZ data into OpenStreetMap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.3%
  • JavaScript 7.7%