[Qgis-developer] Ogr database access design and plans

godofredo contreras frdcn at hotmail.com
Fri Dec 7 11:45:14 EST 2007


Hi:

Thank you Martin to take time to check the design and plans
for ogr database access I will keep the classes in app and also
I think like you about the architecture for providers, changing to
a datasource approach will lead to integrate easily file type layers
and datases layers.

Regards
Godofredo Contreras



> Date: Fri, 7 Dec 2007 14:22:55 +0100
> From: wonder.sk at gmail.com
> To: frdcn at hotmail.com
> Subject: Re: Ogr database access design and plans
> CC: qgis-developer at lists.qgis.org
> 
> Hi,
> 
> first of all sorry for my late reply.
> 
> I've been thinking quite a lot about the current design and future of
> vector providers, database connections etc. The things as you've
> designed them can be used well with the current status of QGIS - in
> case you will put the new classes to 'app' sources and not to the
> libraries.
> 
> My vision is that after 1.0 we should improve our architecture for
> providers - and make it more similar to the one used in OGR.
> - OGR uses 'data source' for a compound of layers, this can be e.g. a
> database or a directory in file system. With data sources you open or
> create layers
> - QGIS uses 'providers' for accessing directly layers, but there's no
> abstraction on the level of data sources as in OGR. With addition of
> data sources (which are currently equivalent to database connections
> in your design) we will add much more functionality which is not
> supported currently by QGIS like some generic way to
> list/create/remove/rename etc. layers). This is I guess important part
> for our future common Load layer / data manager dialog.
> 
> The future redesign is the reason why I think that the new classes
> you're working on should not go to core library. Once your new
> features land to trunk, we will be able to reuse the code when
> introducing 'data sources' term to QGIS slang. So go ahead with the
> coding, we're all looking forward to see the new features in action
> :-)
> 
> Regards
> Martin
> 
> On Nov 30, 2007 9:16 PM, godofredo contreras <frdcn at hotmail.com> wrote:
> >
> > Hi Martin:
> >
> > I have being working with the ogr database access document and modelling
> > the classes and interaction needed to enable ogr database access in qgis.
> > Attached are a doc document describing the changes planned, the classes
> > and dialogs that will be affected and a jpeg image of the model with your
> > suggestions
> > applied. Could you please give me your comments and suggestions.
> >
> > Regards
> >
> > Godofredo Contreras
> >
> > ________________________________
> > Get the power of Windows + Web with the new Windows Live. Power up!

_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative now.
http://im.live.com/messenger/im/home/?source=TAGLM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20071207/d221b7bd/attachment.html


More information about the Qgis-developer mailing list