[Qgis-developer] more than one geometry column

Alex Mandel tech_dev at wildintellect.com
Thu Nov 6 22:49:55 EST 2008


Stefanie Tellex wrote:
> Hi,
> 
> I wanted to have more than one geometry column in a layer.  This patch
> changes QgsPostgresProvider so that it handles geometry columns that
> aren't the primary column by reading and writing them as WKT.  So it
> looks like a string attributes to clients, but clients can convert it to
> a geometry value by using fromWKT.
> 
> It's against revision 9563.
> 
> Stefanie
> 
>
I'm curious about adapting this to read wkt columns in sqlite directly,
I guess I should look at implementing a QgsSQLiteProvider and take some
hints from yours.

Thanks,
Alex




More information about the Qgis-developer mailing list