[gdal-dev] ogr2ogr VPF->postgis
Malm Paul
paul.malm at saabgroup.com
Mon Mar 16 11:38:40 EDT 2009
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 'polbndl at 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
More information about the gdal-dev
mailing list