GithubHelp home page GithubHelp logo

seigieu / teryt2sql Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 21.99 MB

Skrypt konwertujący pliki XML TERYT (pliki z informacjami o ulicach, dzielnicach, miastach, wsiach itp.) na plik .sql.

License: GNU General Public License v2.0

PHP 100.00%

teryt2sql's Introduction

Struktury

Opis struktury zbioru WMRODZ - Katalog miejscowości

http://stat.gov.pl/teryt_struktury/wmrodz.htm

###Opis struktury zbioru SIMC - Katalog miejscowości

http://stat.gov.pl/teryt_struktury/simc.htm

###Opis struktury zbioru TERC - Katalog podziału terytorialnego

http://stat.gov.pl/teryt_struktury/terc.htm

Opis struktury zbioru ULIC - Katalog ulic

http://stat.gov.pl/teryt_struktury/ulic.htm

##Pliki

  • convert.php - Konwerter, po uruchomieniu szuka plików XML i tworzy plik output.sql - gotowy do wgrania do bazy.
  • schema.sql - Struktura tabel
  • xml.zip - Spakowane pliki XML. Rozpakowane zajmują ponad 100MB. Po wypakowaniu pojawią się pliki:
    • xml/ULIC.xml - j/w.
    • xml/SIMC.xml - j/w.
    • xml/TERC.xml - j/w.
    • xml/WMRODZ.xml - j/w.
  • output.sql - Plik wynikowy (tworzony w momencie uruchomienia skryptu).
  • output.zip - Plik wynikowy (spakowany, 60MB > 6MB). Jeśli ktoś nie chce generować pliku SQL, może pobrać gotowy wygenerowany plik.

teryt2sql's People

Contributors

seigieu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.