convert ALKIS NAS convois to GeoPackage
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Norwin d858b64f2f
bloing
6 years ago
tools bloing 6 years ago
README.md bloing 6 years ago
convert_alkis_nas.bat bloing 6 years ago
convert_alkis_nas.sh bloing 6 years ago

README.md

ALKIS NAS converter

Tiny commandline tool for conversion of ALKIS NAS konvois to (Q)GIS compatible data formats.

  • shell script for unix, dependent on gzip and ogr2ogr
  • batch script for windows, dependent on QGIS 2.18, ships with 7zip

usage on unix

Given you have an ALKIS NAS Konvoi, a set of compressed GML files like the following:

EcoLibro_20180313T000000_00von25_32400000_5585000.xml.gz
EcoLibro_20180313T000000_01von25_32400000_5585000.xml.gz
EcoLibro_20180313T000000_02von25_32400000_5585000.xml.gz
...
EcoLibro_20180313T000000_25von25_32400000_5585000.xml.gz

Run ./convert_alkis_nas.sh <input-nas-dir>. This will generate ./alkis_2018-03-13.gpkg file containing your data. Parameters to customize output filename, format, and SRS are available:

./convert_alkis_nas.sh <input dir> <outfile> <ogr driver> <out srs>

usage on windows

Place your NAS Konvoi input data files (*.gz, see above) inside the directory of this batch script. Run the convert_alkis_nas.bat script. alkis.gpkg will contain your data. No parameters are available.

todos

  • add parameters to windows version
  • windows: search for ogr2ogr in path, use QGIS/bin as fallback only

license

GPL-3.0