[gdal-dev] GML duplicated FID

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


Hi,

čt 4. 3. 2021 v 23:03 odesílatel jratike80
<jukka.rahkonen at maanmittauslaitos.fi> napsal:
> It would be interesting to know how you manage to generate duplicate fids
> with Geoserver but perhaps it is better to discuss about that in
> geoserver-users.

to my understanding, the duplicate FID are generated by GDAL not by
GeoServer. See

```
> OGRFeature(lucas_view):36
>    gml_id (String) = lucas_view.fid--269ff1b9_177af2abc34_-36e6
>    point_id (Integer) = 45502976
>    nuts0 (String) = CZ
>    POINT (4550000 2976000)
> OGRFeature(lucas_view):36
>    gml_id (String) = lucas_view.fid--269ff1b9_177af2abc34_-36e5
>    point_id (Integer) = 45542918
>    nuts0 (String) = CZ
>    POINT (4554000 2918000)
```

In both cases gml_id ends with `-36e5` and FID generated by GDAL is 36.

Martin

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


More information about the gdal-dev mailing list