[gdal-dev] GML duplicated FID

Martin Landa landa.martin at gmail.com
Thu Mar 4 14:03:52 PST 2021


Hi,

čt 4. 3. 2021 v 22:42 odesílatel Martin Landa <landa.martin at gmail.com> napsal:
> > You can't probably fix this by using CopyLayer(). But if you use
> > GDALVectorTranslate() with the -unsetFid option, that should solve your
> > issue.
>
> Thanks for a hint!

```
gdal.VectorTranslate("file.gpkg", "file.gml")
```

works like a charm! Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list