<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 checked QgsDataSourceUri and in fact it does almost the same<br>the QgsURIManager. To use it I need to add the type parameter<br></div>and add some methods. Do you think this could be possible?<br>QgsDataSourceUri is used only in postgres datasources?<br><br>Regards<br>Godofredo Contreras<br><br><br><hr id="stopSpelling">> Date: Wed, 24 Oct 2007 14:03:05 +0200<br>> From: wonder.sk@gmail.com<br>> To: frdcn@hotmail.com<br>> Subject: Re: [Qgis-developer] [QGIS Commit] SVN [godofredo] r7284 - branches/ogr-plugin-branch/src/app<br>> CC: tutey@o2.pl; qgis-developer@lists.qgis.org<br>> <br>> Hi Godofredo,<br>> <br>> when briefly looking at your changes I have some notes:<br>> - it seems that QgsURIManager class does pretty much the same as<br>> QgsDataSourceURI class which is already a part of core library<br>> - you've introduced postresql dependency to core library - this is not<br>> a good thing. One solution could be to make this dependency optional,<br>> however I would prefer to move all postgres-related code to provider<br>> or some other, more appropriate place.<br>> <br>> Bye<br>> Martin<br>> <br>> On 10/23/07, godofredo contreras <frdcn@hotmail.com> wrote:<br>> ><br>> > Hi:<br>> ><br>> > This change was to add the ability to create mysql, oracle and postgres<br>> > vector layers<br>> > via ogr provider, the other changes were in the "add postgis layer dialog"<br>> > that now<br>> > support different kinds of connections in addition to postgres. The new<br>> > classes in<br>> > core/dbutilities are used to separate connection management from the dialogs<br>> > and<br>> > that will be used to update SPIT to work with mysql, and oracle.<br>> ><br>> > There are some plans to support layer creation, and Tim suggested to work a<br>> > little<br>> > with QgsVectorWriter to support some kind of export functionality, but I<br>> > think this will<br>> > be until second stage (once ogr spatial database layer creation and spit<br>> > will be working ).<br>> ><br>> > Regars<br>> ><br>> > Godofredo Contreras<br>> ><br><br /><hr />Help yourself to FREE treats served up daily at the Messenger Café. <a href='http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline' target='_new'>Stop by today!</a></body>
</html>