<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Dear list,<BR>
<BR>
I have a bunch of MapInfo tables (.Tab) to upload to PostGIS server and I would like to use ogr2org command to do this in on step. Does this can be done using ogr2ogr command or do I need to right a script to export all the tables in PostGIS??? My second question is how to specify ogr command to to upload tables into a specific schema I've created??? For exemple I try this command and I got an error: <STRONG><EM>ogr2ogr -f "PostgreSQL" PG:"host=myhost schema=myschema user=myusername dbname=mydb password=mypasswd" mydata.tab</EM></STRONG><BR>
<BR>
Here is the error message: <BR>
<BR>
<STRONG><EM>ERROR 1: PQconnectdb failed.<BR>invalid connection option "schema"<BR></EM></STRONG> <BR>Thank u and regards<BR>
<BR>
<BR>
<DIV><FONT color=#0033cc size=2><STRONG><EM>Tahir Tamba <BR>4599, rue Cartier <BR>Montréal (QC) H2H 1W9 <BR>Canada <BR>--------------------------------------------- <BR>Tél: (514) 526-7543</EM></STRONG></FONT></DIV><BR><BR><br /><hr />Avec Windows Live, vous gardez le contact avec tous vos amis <a href='http://go.microsoft.com/?linkid=9660828' target='_new'>au même endroit.</a></body>
</html>