[Qgis-developer] PostGIS plugins

Martin Dobias wonder.sk at gmail.com
Sat Oct 30 04:57:11 EDT 2010


Hi Giuseppe

On Tue, Oct 26, 2010 at 4:35 PM, Giuseppe Sucameli <sucameli at faunalia.it> wrote:
>
> coming back to the PostGIS plugins, I think Wroclaw would be also good place
> to
> merge some of them (e.g. improving PostGis Manager by adding the RT Sql
> Layer
> capabilities).

Yes, agreed.


> To think big, we can refactor the pg_manager creating a new manager which
> manages both postgis and spatialite. In this manner we wouldn't have a lot
> of
> duplicated code for the spatialite_manager and we can easily extend it to
> manage
> others spatial dbs.

Sure. In the very first stage they could merged into one plugin with
just small changes (e.g. each plugin in one subdirectory, with some
glue). The next stages would incrementally remove duplicate code.


> I think the first step is using the QtSql module instead of the psycopg2 one
> within
> pg_manager. I don't know if there are some limitations in this moment, but I
> see
> it's on the pg_manager's TODO list.

I don't think switching to QtSql has a priority. It's on the todo list
because someone suggested it once, but I never investigated pros and
cons of the transition. Currently I don't see any reason for rewriting
that code.

Regards
Martin


More information about the Qgis-developer mailing list