Re: [gdal-dev] Geopackage ogr2ogr append question

2017-03-06 Thread Neumann, Andreas
Hi Even, I upgraded to gdal 2.1.3 and everything works fine regarding the upgrades of the geopackage. I also switched to "-update" as you suggested, as -append is not necessary, since I am creating new tables within an existing gepackage and don't append to existing tables. Thanks a lot, An

Re: [gdal-dev] Geopackage ogr2ogr append question

2017-03-03 Thread Neumann, Andreas
Hi Even, Thanks for your reply. My gdal version is 2.0.2 - I can update to a newer version and see if this warning disappears. I meanwhile also figured out that I need to use -nln for proper table names. Thanks also for the information about append vs. update. I'll switch to update then.

Re: [gdal-dev] Geopackage ogr2ogr append question

2017-03-03 Thread Even Rouault
Hi Andreas, > > I am, for the first time trying to append additional tables with ogr2ogr > to an existing Geopackage file and have questions: > > ogr2ogr -progress -lco SPATIAL_INDEX=YES -f GPKG av_1700_lv03.gpkg > PG:'dbname=publikation host=localhost schemas=av_1700' -sql "SELECT > t_id, t_ili

[gdal-dev] Geopackage ogr2ogr append question

2017-03-03 Thread Neumann, Andreas
Hi, I am, for the first time trying to append additional tables with ogr2ogr to an existing Geopackage file and have questions: ogr2ogr -progress -lco SPATIAL_INDEX=YES -f GPKG av_1700_lv03.gpkg PG:'dbname=publikation host=localhost schemas=av_1700' -sql "SELECT t_id, t_ili_tid, geom_03, bfs_nr