<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>&gt; Date: Wed, 26 Mar 2008 19:30:01 -0400<br>&gt; From: warmerdam@pobox.com<br>&gt; To: frdcn@hotmail.com<br>&gt; CC: tim@linfiniti.com<br>&gt; Subject: Re: Generic OGR Database connection work<br>&gt; <br>&gt; godofredo contreras wrote:<br>&gt; &gt; Hi Frank and Tim:<br>&gt; &gt; <br>&gt; &gt; In the file attached are the documentation of plans for ogr database access in qgis<br>&gt; &gt; and the uml diagram of classes design. Any suggestions are welcome. Tim could you please<br>&gt; &gt; give me write access to wiki to publish this information?<br>&gt; <br>&gt; Godofredo,<br>&gt; <br>&gt; The plans look good in so far as I was able to understand the details.<br>&gt; <br>&gt; I think it is important to preserve the "ogrGeneric" dialog where the<br>&gt; user can enter any valid ogr connection string without it needing to<br>&gt; be known apriori.<br>&gt; <br>&gt; I think some of the specific dialogs (such as for ogrMysql) may be<br>&gt; hard to keep strictly in sync with canges to the corresponding<br>&gt; OGR drivers.  But the only fix I can think of is ogr providers<br>&gt; describing their own parameters and I'm not ready for that.<br>&gt; <br>Yes you are right, the idea behind&nbsp; this is to reuse the dialog <br>for ogr database connections and for postgres connection<br>and use the class qgsdatasourceuri to create the uris for those<br>databases according to driver format. This is not completely automated<br>but it only needs to add some lines of code to qgsdatasourceuri to support<br>other ogr databases.<br> <br>&gt; I'm not too clear on the plan for export through OGR.  It may be I<br>&gt; can provide some useful advice when that work commences.<br>&gt; <br>&gt; BTW, I really don't understand the role of SPIT.  I gather from<br>&gt; the name it is a shapefile to PostGIS import tool, but I don't understand<br>&gt; the need for this specific case of what should presumably a fairly<br>&gt; generic process (translation from format to format).<br>&gt; <br>SPIT is used to upload shapefiles to postgres database, the idea is to<br>update spit to be something like a graphical interface for ogr2ogr.<br><br><br>Best regards<br><br>Godofredo Contreras<br><br /><hr />In a rush? <a href='http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008' target='_new'>Get real-time answers with Windows Live Messenger.</a></body>
</html>