I'm sorry, I rwad on postgis example on internet where it stood passwd instead 
of password. Now it works. Thank you, Sophia!

________________________________
From: sophia parafina [mailto:[email protected]]
Sent: den 16 mars 2009 17:05
To: Malm Paul
Cc: gdal-dev
Subject: Re: [gdal-dev] ogr2ogr VPF->postgis

slashes are incorrect, e.g.


gltp:[//<hostname>]/<driver_name>/<dataset_name>:<layer_name>:<family>


On Mon, Mar 16, 2009 at 11:38 AM, Malm Paul 
<[email protected]<mailto:[email protected]>> wrote:
Hi!
I'm trying to read in VPF data to my postgreSQL/PostGis database with 
ogr2ogr.exe in WinXP

The lht file is placed in c:\test\vmap\v0eur_5\vmaplv0\eurnasia
The database is called testgis

This is what I typed in on the command prompt:
ogr2ogr -f PostgreSQL PG:"dbname='testgis' user='cvfc' passwd='pwd'" 
gltp:\vrf\test\vmap\v0eur_5\vmaplv0\eurnasia -lco OVERWRITE=yes -nln 
polbndl_bnd 'polb...@bnd(*)_line'

This is what I got:
FAILURE:
Unable to open datasource `gltp:\vrftest\vmap\v0eur_5\vmaplv0\eurnasia' with 
the following drivers.
 -> ESRI Shapefile
 -> MapInfo File
 -> UK .NTF
 -> SDTS
 -> TIGER
 -> S57
 -> DGN
 -> VRT
 -> REC
 -> Memory
 -> BNA
 -> CSV
 -> GML
 -> GPX
 -> KML
 -> GeoJSON
 -> GMT
 -> ODBC
 -> PGeo
 -> AVCBin

What have I missed?

Is it possible to load all featuretypes in a Postgis database at once?

Kind regards,
Paul_______________________________________________
gdal-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to