On mercredi 4 octobre 2017 08:58:25 CEST Casper Børgesen wrote:
> Hi Jukka
> 
> I tried only to discover that the error is probably about an invalid (?)
> layer name (-nln). ogr2ogr doesn't complain if I give it a layer name with
> a dash in the middle, like 'some-thing'. When appending data to the layer
> using the same layer name, I get the error message.
 
> I don't know if this type of layer names are indeed invalid and if so, the
> current behaviour of ogr2ogr not complaining is intended.

I cannot reproduce on Linux (and can't see why that would be Windows specific)

The following works fine for me:
ogr2ogr -f gpkg test.gpkg ../autotest/ogr/data/poly.shp -nln "a-b"
ogr2ogr -gt 100000 -update -append test.gpkg ../autotest/ogr/data/poly.shp -nln 
"a-b"

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to