convert ALKIS NAS convois to GeoPackage
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

convert_alkis_nas.bat 470B

12345678910111213141516171819202122232425
  1. @ECHO OFF
  2. SET tooldir="tools"
  3. SET ogr2ogr="%PROGRAMFILES%\QGIS 2.18\bin\ogr2ogr.exe"
  4. SET sevenzip="%tooldir%\7z.exe"
  5. IF NOT EXIST %ogr2ogr% (
  6. echo QGIS 2.18 installation not found
  7. exit /B 1
  8. )
  9. IF NOT EXIST %sevenzip% (
  10. echo 7zip not found
  11. exit /B 2
  12. )
  13. FOR %%G IN (*.gz) DO (
  14. %sevenzip% -aoa e %%G
  15. )
  16. FOR %%G IN (*.xml) DO (
  17. %ogr2ogr% alkis.gpkg -f GPKG -append -update -a_srs %tooldir%\25832.epsg %%G
  18. )
  19. del *.gfs *.xml