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

Nathan Woodrow madmanwoo at gmail.com
Thu Dec 3 04:16:36 PST 2015


Hi,

Can you paste and example?

On Thu, 3 Dec 2015 10:10 pm Enrico Ferreguti <enricofer at gmail.com> 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
> temporary datasource or external data without necessary show it to the
> user. (an alternative question could be: Is it possible to hide a legend
> item?)
> Should I submit a feature request for this?
>
> Regards
> Enrico Ferreguti.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151203/3c781e8d/attachment.html>


More information about the Qgis-developer mailing list