<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 Tim:<br><br>Thank you for checking the design. I also want to reuse the classes<br>for some plugins like SPIT and placing them in app will make difficult<br>to reuse them, but&nbsp; at this first stage I think the classes could change a <br>lot so is a good idea to keep them in app until they are more mature.<br><br>Regards<br>Godofredo Contreras<br></div><br><br><br><hr id="stopSpelling">&gt; Date: Fri, 7 Dec 2007 11:50:19 -0200<br>&gt; From: tim@linfiniti.com<br>&gt; To: wonder.sk@gmail.com<br>&gt; Subject: Re: [Qgis-developer] Ogr database access design and plans<br>&gt; CC: frdcn@hotmail.com; qgis-developer@lists.qgis.org<br>&gt; <br>&gt; Hi Godofredo<br>&gt; <br>&gt; I also had a look through your design documents during the week and<br>&gt; generally liked the proposal. I think Martin makes some good points<br>&gt; below. My only concern of putting it in 'app' is that this<br>&gt; functionality wont be available to 3rd party apps using QGIS libs -<br>&gt; which would be a pity because I suspect in many cases it would be very<br>&gt; useful...<br>&gt; <br>&gt; Regards<br>&gt; <br>&gt; Tim<br>&gt; <br>&gt; 2007/12/7, Martin Dobias &lt;wonder.sk@gmail.com&gt;:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; first of all sorry for my late reply.<br>&gt; &gt;<br>&gt; &gt; I've been thinking quite a lot about the current design and future of<br>&gt; &gt; vector providers, database connections etc. The things as you've<br>&gt; &gt; designed them can be used well with the current status of QGIS - in<br>&gt; &gt; case you will put the new classes to 'app' sources and not to the<br>&gt; &gt; libraries.<br>&gt; &gt;<br>&gt; &gt; My vision is that after 1.0 we should improve our architecture for<br>&gt; &gt; providers - and make it more similar to the one used in OGR.<br>&gt; &gt; - OGR uses 'data source' for a compound of layers, this can be e.g. a<br>&gt; &gt; database or a directory in file system. With data sources you open or<br>&gt; &gt; create layers<br>&gt; &gt; - QGIS uses 'providers' for accessing directly layers, but there's no<br>&gt; &gt; abstraction on the level of data sources as in OGR. With addition of<br>&gt; &gt; data sources (which are currently equivalent to database connections<br>&gt; &gt; in your design) we will add much more functionality which is not<br>&gt; &gt; supported currently by QGIS like some generic way to<br>&gt; &gt; list/create/remove/rename etc. layers). This is I guess important part<br>&gt; &gt; for our future common Load layer / data manager dialog.<br>&gt; &gt;<br>&gt; &gt; The future redesign is the reason why I think that the new classes<br>&gt; &gt; you're working on should not go to core library. Once your new<br>&gt; &gt; features land to trunk, we will be able to reuse the code when<br>&gt; &gt; introducing 'data sources' term to QGIS slang. So go ahead with the<br>&gt; &gt; coding, we're all looking forward to see the new features in action<br>&gt; &gt; :-)<br>&gt; &gt;<br>&gt; &gt; Regards<br>&gt; &gt; Martin<br>&gt; &gt;<br>&gt; &gt; On Nov 30, 2007 9:16 PM, godofredo contreras &lt;frdcn@hotmail.com&gt; wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi Martin:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I have being working with the ogr database access document and modelling<br>&gt; &gt; &gt; the classes and interaction needed to enable ogr database access in qgis.<br>&gt; &gt; &gt; Attached are a doc document describing the changes planned, the classes<br>&gt; &gt; &gt; and dialogs that will be affected and a jpeg image of the model with your<br>&gt; &gt; &gt; suggestions<br>&gt; &gt; &gt; applied. Could you please give me your comments and suggestions.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Regards<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Godofredo Contreras<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ________________________________<br>&gt; &gt; &gt; Get the power of Windows + Web with the new Windows Live. Power up!<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Qgis-developer mailing list<br>&gt; &gt; Qgis-developer@lists.qgis.org<br>&gt; &gt; http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Tim Sutton<br>&gt; QGIS Project Steering Committee Member - Release  Manager<br>&gt; Visit http://qgis.org for a great open source GIS<br>&gt; openModeller Desktop Developer<br>&gt; Visit http://openModeller.sf.net for a great open source ecological<br>&gt; niche modelling tool<br>&gt; Home Page: http://tim.linfiniti.com<br>&gt; Skype: timlinux<br>&gt; Irc: timlinux on #qgis at freenode.net<br><br /><hr />You keep typing, we keep giving. Download Messenger and join the i’m Initiative now. <a href='http://im.live.com/messenger/im/home/?source=CRM_WL_joinnow' target='_new'>Join in!</a></body>
</html>