<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=025240716-16032009><FONT face=Arial
color=#0000ff size=2>I saw that i should use FWTOOLS to get the postgres driver
and then I tried this without any success:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025240716-16032009><FONT face=Arial
color=#0000ff size=2>ogr2ogr -f "PostgreSQL" PG:"host=localhost dbname=testgis
user=cvfc PG:passwd=pwd" gltp:/vrf/test/vmap/v0eur_5/vmaplv0/eurnasia -lco
OVERWRITE=yes -nln polbndl_bnd </FONT><A
href="mailto:'polbndl@bnd(*)_line'"><FONT face=Arial
size=2>'polbndl@bnd(*)_line'</FONT></A></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025240716-16032009><FONT face=Arial
color=#0000ff size=2><BR>ERROR 1: PQconnectdb failed.<BR>invalid connection
option "PG:passwd"</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=025240716-16032009><FONT face=Arial
color=#0000ff size=2>ERROR 1: PostgreSQL driver doesn't currently support
database creation.<BR>Please create database with the `createdb'
command.<BR>PostgreSQL driver failed to create PG:host=localhost dbname=testgis
user=postgres PG:passwd=postgrespwd</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><!-- Converted from text/rtf format --><SPAN
class=025240716-16032009></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Kind regards,</FONT></FONT></FONT></DIV>
<DIV><SPAN class=025240716-16032009></SPAN><SPAN
class=025240716-16032009></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>P<SPAN
class=025240716-16032009>aul</SPAN></FONT></FONT></FONT><BR></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sophia parafina
[mailto:creta.kano@gmail.com] <BR><B>Sent:</B> den 16 mars 2009
17:05<BR><B>To:</B> Malm Paul<BR><B>Cc:</B> gdal-dev<BR><B>Subject:</B> Re:
[gdal-dev] ogr2ogr VPF->postgis<BR></FONT><BR></DIV>
<DIV></DIV>slashes are incorrect, e.g.<BR><BR><PRE>gltp:[//<hostname>]/<driver_name>/<dataset_name>:<layer_name>:<family><BR></PRE><BR><BR>
<DIV class=gmail_quote>On Mon, Mar 16, 2009 at 11:38 AM, Malm Paul <SPAN
dir=ltr><<A
href="mailto:paul.malm@saabgroup.com">paul.malm@saabgroup.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi!<BR>I'm
trying to read in VPF data to my postgreSQL/PostGis database with ogr2ogr.exe
in WinXP<BR><BR>The lht file is placed in
c:\test\vmap\v0eur_5\vmaplv0\eurnasia<BR>The database is called
testgis<BR><BR>This is what I typed in on the command prompt:<BR>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@bnd(*)_line'<BR><BR>This is what I
got:<BR>FAILURE:<BR>Unable to open datasource
`gltp:\vrftest\vmap\v0eur_5\vmaplv0\eurnasia' with the following
drivers.<BR> -> ESRI Shapefile<BR> -> MapInfo
File<BR> -> UK .NTF<BR> -> SDTS<BR> ->
TIGER<BR> -> S57<BR> -> DGN<BR> -> VRT<BR> ->
REC<BR> -> Memory<BR> -> BNA<BR> -> CSV<BR> ->
GML<BR> -> GPX<BR> -> KML<BR> ->
GeoJSON<BR> -> GMT<BR> -> ODBC<BR> ->
PGeo<BR> -> AVCBin<BR><BR>What have I missed?<BR><BR>Is it possible to
load all featuretypes in a Postgis database at once?<BR><BR>Kind
regards,<BR>Paul_______________________________________________<BR>gdal-dev
mailing list<BR><A
href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
target=_blank>http://lists.osgeo.org/mailman/listinfo/gdal-dev</A><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>