Nyall Dawson

Results 340 comments of Nyall Dawson

Is ISpatialIndex intended to be subclassed externally? Because if so, adding a new pure virtual method will break existing code anyway...

@hobu what time frame are you thinking? hours/days/weeks?

Ok, added to my to-do list again... That timeframe works for me!

@mbernasocchi I'm a bit lost sorry, can you summarise exactly what the issue is?

@mbernasocchi Seems like a bug to me too

"@symbol_color" would be a good approach to use here, but you'd effectively have to re-create the QGIS c++ code which is used to calculate this. The way QGIS itself handles...

@ghtmtt You probably need to wrap that in startRender/stopRender calls: ``` context = QgsRenderContext() renderer = layer.renderer() renderer.startRender(context, layer.fields()) symbols = layer.renderer().originalSymbolsForFeature( feature, context) renderer.stopRender(context) ```

@ghtmtt I think for this one we'll need to separate the data-defined color handling into two separate choices. 1. Use native QGIS color ramps. This would allow use of things...