<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi Martin:<br><br>I´m working in fixing the dependency introduced by the files in dbutilities of core<br>what do you think about this organization of files in dbutilities:<br><br>qgsurimanager&nbsp; will be deprecated and qgsdatasourceuri will be used<br>qgsconnectionmanager has no extra dependencies and could be kept in core/dbutilities<br>qgsconnection has no extra dependencies and could be kept in core/dbutilities<br>qgsdatabaseconnectionbase is used as an interface for (qgspostgresdatabaseconnection and qgsogrdatabaseconnection) has no extra<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; dependencies and could be kept in core/dbutilities<br>qgsgeomcolumntypethread and qgspostgresdatabaseconnection are postgres specific (not really sure) if they are moved to providers<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then I need to add a dependency in app to postgres provider<br>qgsogrdatabaseconnection is ogr specific, same case that the above one<br><br>Regards <br><br>Godofredo Contreras<br><br><br></div><br><br><br><hr id="stopSpelling">&gt; Date: Wed, 24 Oct 2007 14:03:05 +0200<br>&gt; From: wonder.sk@gmail.com<br>&gt; To: frdcn@hotmail.com<br>&gt; Subject: Re: [Qgis-developer] [QGIS Commit] SVN [godofredo] r7284 - branches/ogr-plugin-branch/src/app<br>&gt; CC: tutey@o2.pl; qgis-developer@lists.qgis.org<br>&gt; <br>&gt; Hi Godofredo,<br>&gt; <br>&gt; when briefly looking at your changes I have some notes:<br>&gt; - it seems that QgsURIManager class does pretty much the same as<br>&gt; QgsDataSourceURI class which is already a part of core library<br>&gt; - you've introduced postresql dependency to core library - this is not<br>&gt; a good thing. One solution could be to make this dependency optional,<br>&gt; however I would prefer to move all postgres-related code to provider<br>&gt; or some other, more appropriate place.<br>&gt; <br>&gt; Bye<br>&gt; Martin<br>&gt; <br>&gt; On 10/23/07, godofredo contreras &lt;frdcn@hotmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hi:<br>&gt; &gt;<br>&gt; &gt; This change was to add the ability to create mysql, oracle and postgres<br>&gt; &gt; vector layers<br>&gt; &gt; via ogr provider, the other changes were in the "add postgis layer dialog"<br>&gt; &gt; that now<br>&gt; &gt; support different kinds of connections in addition to postgres. The new<br>&gt; &gt; classes in<br>&gt; &gt; core/dbutilities are used to separate connection management from the dialogs<br>&gt; &gt; and<br>&gt; &gt; that will be used to update SPIT to work with  mysql, and oracle.<br>&gt; &gt;<br>&gt; &gt; There are some plans to support layer creation, and Tim suggested to work a<br>&gt; &gt; little<br>&gt; &gt; with QgsVectorWriter to support some kind of export functionality, but I<br>&gt; &gt; think this will<br>&gt; &gt; be until second stage (once ogr spatial database layer creation and spit<br>&gt; &gt; will be working ).<br>&gt; &gt;<br>&gt; &gt; Regars<br>&gt; &gt;<br>&gt; &gt; Godofredo Contreras<br>&gt; &gt;<br><br /><hr />Windows Live Hotmail and Microsoft Office Outlook – together at last. <a href='http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033' target='_new'>Get it now!</a></body>
</html>