hi all, at http://n2.nabble.com/GDAL-Dev-f2022644.html i found one thread with the same problem but unfortunately no answer.
http://n2.nabble.com/ogr2ogr-PGSQL-OGR-FID-is-not-work-td4026177.html#a4026177 if i try the following command ogr2ogr -f PostgreSQL -nln newlayer -nlt MULTIPOLYGON PG:"host=localhost user=admin password=xxx dbname=mydb" PG:"host=localhost user=admin password=yyy dbname=otherdb" oldlayer -lco PGSQL_OGR_FID=myid everything works fine but the primary key remains at the column "ogc_fid" not at the column "myid". thanks for every help christian p.s. at the gdal-dev mailing list (http://lists.osgeo.org/pipermail/gdal-dev/) this thread seems not to exist. any explanation? _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev