[gdal-dev] export to postgis, ogc_fid_seq

Martin Landa landa.martin at gmail.com
Sat Aug 2 15:14:30 PDT 2014


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 script? Thanks, Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the gdal-dev mailing list