Skip to content

epforgpl/prg-polskie-adresy-xml-to-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polish address points PRG dataset XML to SQL importer.

This repository holds a script for importing Polish address points obtained from PRG (Państwowy Rejestr Granic) from XML format into a MySQL table.

As of 11/2018, the input files for this script can be downloaded here.

They are the PRG – punkty adresowe dataset in *.GML format.

The script creates a table punkty_adresowe in the given DB & schema.

Usage

$ php importer.php DIR HOST USERNAME PASSWORD SCHEMA
  • DIR - directory holding unpacked XML files from PRG, without trailing slash
  • HOST - MySQL host to connect to (e.g. localhost)
  • USERNAME - MySQL username
  • PASSWORD - MySQL password
  • SCHEMA - MySQL schema to insert data into

About

Polish address points PRG dataset XML to SQL importer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages