<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>> Date: Wed, 26 Mar 2008 19:30:01 -0400<br>> From: warmerdam@pobox.com<br>> To: frdcn@hotmail.com<br>> CC: tim@linfiniti.com<br>> Subject: Re: Generic OGR Database connection work<br>> <br>> godofredo contreras wrote:<br>> > Hi Frank and Tim:<br>> > <br>> > In the file attached are the documentation of plans for ogr database access in qgis<br>> > and the uml diagram of classes design. Any suggestions are welcome. Tim could you please<br>> > give me write access to wiki to publish this information?<br>> <br>> Godofredo,<br>> <br>> The plans look good in so far as I was able to understand the details.<br>> <br>> I think it is important to preserve the "ogrGeneric" dialog where the<br>> user can enter any valid ogr connection string without it needing to<br>> be known apriori.<br>> <br>> I think some of the specific dialogs (such as for ogrMysql) may be<br>> hard to keep strictly in sync with canges to the corresponding<br>> OGR drivers. But the only fix I can think of is ogr providers<br>> describing their own parameters and I'm not ready for that.<br>> <br>Yes you are right, the idea behind 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>> I'm not too clear on the plan for export through OGR. It may be I<br>> can provide some useful advice when that work commences.<br>> <br>> BTW, I really don't understand the role of SPIT. I gather from<br>> the name it is a shapefile to PostGIS import tool, but I don't understand<br>> the need for this specific case of what should presumably a fairly<br>> generic process (translation from format to format).<br>> <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>