On 05/11/2015 19:10, Matthias Kuhn wrote: > > > On 11/05/2015 05:07 PM, Hugo Mercier wrote:
>> Correct. >> A first step where the additional geometry columns are considered to be >> expressed in the same CRS as the main geometry column would already be >> interesting. >> And yes, that would be better if additional geometries could be accessed >> directly as QgsGeometry, and converted to WKT only when needed >> (attribute table ?). It's probably only modifications provider-side. > The conversion provider side are probably straightforward (just use the > code that is used to create the main geometry of the feature). > But I don't know if it can be considered an API break. If you have a > plugin that currently makes use of the WKT format, that may be broken by > this change. Maybe implementing QgsGeometry.__str__() is already fine? > Yes good point. And __str__() is a good idea. _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer