[Qgis-developer] QgsExpression class can't evaluate not registered Layers

2015-12-03 Thread Enrico Ferreguti
Hi, I noticed that QgsExpression class can't evaluate layers that are not loaded in QgsMapLayerRegistry. This is a bit annoying because expressions could be evaluated against a temporary datasource or external data without necessary show it to the user. (an alternative question could be: Is it

Re: [Qgis-developer] QgsExpression class can't evaluate not registered Layers

2015-12-03 Thread Nathan Woodrow
Hi, Can you paste and example? On Thu, 3 Dec 2015 10:10 pm Enrico Ferreguti wrote: > Hi, I noticed that QgsExpression class can't evaluate layers that are not > loaded in QgsMapLayerRegistry. > This is a bit annoying because expressions could be evaluated against a >