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

Frank Warmerdam warmerdam at pobox.com
Fri May 28 14:45:25 EDT 2004


Tyler Mitchell wrote:
> 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,

This is the default in CVS, but it was a pretty recent change so most
publically available binaries likely do not include it.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list