@@ -18,12 +18,12 @@ English: "National Official Register of Territorial Division of the Country")
1818is a register maintained by Polish Central Statistical Office (Polish: Główny
1919Urząd Statystyczny; GUS). Among other things it contains:
2020
21- * identifiers and names of units of territorial division,
22- * identifiers and names of localities,
23- * identifiers and names of streets
21+ * identifiers and names of units of territorial division,
22+ * identifiers and names of localities,
23+ * identifiers and names of streets
2424
25- This app allows to parse XML files from GUS and import them to database. It is
26- meant to be used as a part of a larger system.
25+ This app parses XML files from GUS and it imports them to the database.
26+ It is meant to be used as a part of a larger system.
2727
2828Documentation
2929-------------
@@ -37,20 +37,32 @@ Install django-teryt::
3737
3838 pip install django-teryt
3939
40- Add `` teryt `` to `` INSTALLED_APPS `` in your `` settings.py `` and run ::
40+ If you are using Django 1.6 or lower you have to install South ::
4141
42- ./manage.py syncdb
42+ pip install 'south>=1.0'
4343
44- or ::
44+ Add `` teryt `` to `` INSTALLED_APPS `` in your `` settings.py `` and run ::
4545
4646 ./manage.py migrate teryt
4747
48- if you use ``south ``. Then download TERYT data from
49- `GUS website <http://www.stat.gov.pl/broker/access/prefile/listPreFiles.jspa >`_, unpack it and then import it::
48+ Then download TERYT data from
49+ `GUS website <http://www.stat.gov.pl/broker/access/prefile/listPreFiles.jspa >`_,
50+ unpack it and then import it::
5051
5152 ./manage.py teryt_parse /path/to/WMRODZ.xml /path/to/TERC.xml /path/to/SIMC.xml /path/to/ULIC.xml
5253
5354Features
5455--------
5556
56- * TODO
57+ * It can import all data from all TERYT files
58+ * It deals with updates (just run ./manage.py teryt_parse --update TERC.xml)
59+ * It keeps flag (aktywny) telling you if some record is still present in TERYT
60+ (there are some minor changes in territorial division from time to time)
61+
62+ Support
63+ -------
64+
65+ All bug reports and pull requests are welcome. You can report them at
66+ https://github.com/scibi/django-teryt/issues. It can be in English
67+ or in Polish ;)
68+
0 commit comments