On mardi 5 novembre 2019 13:16:36 CET Mike wrote: > I did end up just defining the layers and just adding all the data to it. > > However this does occur with ogr2ogr, and it says to use skip failures. > When I use that, I get one less feature (fails on the first I assume).
You get that message because one of your ids doesn't fit on 32 bit CopyLayer() is quite limited regarding is options. You could use the gdal.VectorTranslate() which is the function behind ogr2ogr. Then you can use the -unsetFid and/or -skip options Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
