Ciao Martin, > >try -lco 'schema=myschema' option, so > >ogr2ogr -f PostgreSQL "PG:host=localhost user=myuser" mylayer -nln >mylayer -lco 'schema=myschema' >
Thanks, it works with no errors! A third way is to use -nln myschema.mylayer, so ogr2ogr -f PostgreSQL "PG:host=localhost dbname=mydb user=myuser" mylayer -nln myschema.mylayer IMHO, the error using "schemas=myschema" is non sense, with GDAL 1.x the syntax is accepted and no errors are printed. michele >-- >Martin Landa >http://geo.fsv.cvut.cz/gwiki/Landa >http://gismentors.cz/mentors/landa _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
