Skip to main content

TERYT database implementation for Django

Project description

https://badge.fury.io/py/django-teryt.png https://travis-ci.org/scibi/django-teryt.png?branch=master https://pypip.in/d/django-teryt/badge.png

django-teryt is a Django app that implements TERYT database. TERYT (Polish: “Krajowy Rejestr Urzędowy Podziału Terytorialnego Kraju”, English: “National Official Register of Territorial Division of the Country”) is a register maintained by Polish Central Statistical Office (Polish: Główny Urząd Statystyczny; GUS). Among other things it contains:

  • identifiers and names of units of territorial division,

  • identifiers and names of localities,

  • identifiers and names of streets

This app allows to parse XML files from GUS and import them to database. It is meant to be use as part of larger system.

Documentation

The full documentation is at http://django-teryt.rtfd.org.

Quickstart

Install django-teryt:

pip install django-teryt

Add teryt to INSTALLED_APPS in your settings.py and run:

./manage.py syncdb

or:

./manage.py migrate teryt

if you use south. Then download TERYT data from GUS website, unpack it and then import it:

./manage.py teryt_parse /path/to/WMRODZ.xml /path/to/TERC.xml /path/to/SIMC.xml /path/to/ULIC.xml

Features

  • TODO

History

0.1.0 (2013-12-31)

  • 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

django-teryt-0.1.0.tar.gz (8.8 kB view hashes)

Uploaded Source

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