[Gdal-dev] Using ogr2ogr -f PostgreSQL on Windows works now

Tyler Mitchell TMitchell at lignum.com
Fri May 28 13:05:39 EDT 2004


Glad to hear you got it working.

> ogr2ogr -f "PostgreSQL" PG:"user=ezs dbname=myGISdb host=localhost 
> password=geheim port=5432" D:
> \klusjes\LVE\R2058\data\basis\shp\nl_gemeente.shp overwrite=yes

I always thought you had to include a layer too.  And to specify 
overwrite=yes as a layer creation option:
-lco overwrite=yes

Can anyone confirm that -lco launder=yes is a default now?

Tyler



More information about the Gdal-dev mailing list