[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-developer
Subject: Re: [Qgis-developer] Multiple geometry columns per layer
From: Matthias Kuhn <matthias.kuhn () gmx ! ch>
Date: 2012-11-30 16:49:29
Message-ID: 50B8E399.7060208 () gmx ! ch
[Download RAW message or body]
>
> So right now we have QgsFeature that contains ID, attributes and a
> geometry. I think we should keep that as-is because this is what is
> usually expected from a layer.
And the users would be forced to deal with yet another pretty strong API
change besides the API changes you plan to commit.
>
> In order to support multiple geometries per feature, we could possibly
> allow QgsGeometry class as another attribute type (next to int, double
> and QString). So providers like postgis that support multiple geometry
> columns could return additional geometries wrapped as attributes in
> QVariant. Would that work for you?
This would work perfectly well. I'm wondering how much work it would
mean to get this.
Matthias
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic