[gdal-dev] GML duplicated FID

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


Hi,

čt 4. 3. 2021 v 22:48 odesílatel Even Rouault
<even.rouault at spatialys.com> napsal:
> > [1] http://geo102.fsv.cvut.cz/~landa/tmp/data_CZ.gml.7z
>
> yes please. If you can strip it down to just a few features that can
> reproduce the issue, that's even better.

I am not sure what is the reason why GML driver behaves like that.
GDAL generates unique FID even when gml_id is duplicated...

```
OGRFeature(lucas_view):0
  gml_id (String) = lucas_view.fid--269ff1b9_177af2abc34_-36ed
  point_id (Integer) = 45502976
  nuts0 (String) = CZ

OGRFeature(lucas_view):1
  gml_id (String) = lucas_view.fid--269ff1b9_177af2abc34_-36ed
  point_id (Integer) = 45542918
  nuts0 (String) = CZ
```

Issue created anyway [1].

Ma

[1] https://github.com/OSGeo/gdal/issues/3532

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


More information about the gdal-dev mailing list