Hi,
I would like to collect data from a bunch of GML files into one GeoPackage
but GML files may contain more than 20 layers and ogr2ogr does not want to
append data for me because the -append switch probably has an effect only to
one explicitly given layer.
ogr2ogr -f gpkg -update -append
Hi,
Did you try to add another GML file into existing GeoPackege?
First run OK:
ogr2ogr -f gpkg -update -append mtk.gpkg /vsizip/K2344R_mtk.zip
Secong run gives an error:
ogr2ogr -f gpkg -update -append mtk.gpkg /vsizip/K2433L_mtk.zip
ERROR 1: Layer Kunta already exists, and -append not
Jukka,
>
> I would like to collect data from a bunch of GML files into one GeoPackage
> but GML files may contain more than 20 layers and ogr2ogr does not want to
> append data for me because the -append switch probably has an effect only
> to one explicitly given layer.
-append is supposed to
More intormation:
Reason may be that GML files do not have same layers but the second one has one
layer more:
ogrinfo /vsizip/K2344R_mtk.zip
ERROR 1: Random access not supported for /vsizip
Had to open data source read-only.
INFO: Open of `/vsizip/K2344R_mtk.zip'
using driver `GML'
Le lundi 01 février 2016 14:53:22, Rahkonen Jukka (MML) a écrit :
> More intormation:
>
> Reason may be that GML files do not have same layers but the second one has
> one layer more:
Yes that's exactly the reason. When 'KunnanHallintoraja' was processed, it was
seen as non existing in the