Hi,
2014-08-03 10:30 GMT+02:00 Even Rouault :
> Does your script explicitely set the FID before calling CreateFeature() ? If
[...]
right,
> You likely need to explicitely call setval()
I will update my script accordingly. Thanks, Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
_
Le dimanche 03 août 2014 00:14:30, Martin Landa a écrit :
> Hi,
>
> when exporting features to PostGIS layer (python script) I discovered
> that ogc_fid_seq is not updated.
>
> Eg.
>
>
> select last_value from stavebniobjekty_ogc_fid_seq;
> last_value
>
> 1
> select max(
Hi,
when exporting features to PostGIS layer (python script) I discovered
that ogc_fid_seq is not updated.
Eg.
select last_value from stavebniobjekty_ogc_fid_seq;
last_value
1
select max(ogc_fid) from stavebniobjekty;
max
--
2572
Any idea what is missing in my scr