[QGIS-Developer] Expression Functions: Where are they used in QGIS Desktop? Which ones won't work "outside"?
Victor Olaya
volayaf at gmail.com
Sun May 7 23:41:55 PDT 2017
Tom
I wasn't aware of the qgis2js project. I have borrowed the expressions
code from qgis2web for our WebApp Builder, and was going to prepare a
PR to cotribute back some changes, since i have implemented quite a
few of the missing functions. See, for instance:
https://github.com/boundlessgeo/qgis-webappbuilder-plugin/commit/7fe6f8f894a070a12735f0f8d7ee0376d495d443
https://github.com/boundlessgeo/qgis-webappbuilder-plugin/commit/6828731a95ccd342c0189e42af0f30f15918b1a8
Should I do that against Nathan's repo? Looks like it has less
functions implemented than qgis2web, and you are not actually using it
as a library, but instead you added that code in your repo and are
improving it there. Maybe the qgis2js library should provide some way
of using it as a dependency, so it can be installed in the plugin
folder using pip, for instance, and then we can just work on the main
repo and all improvements will be ready easily for all projects using
it.
I will be happy to work on that, so let me know how i can help
Thanks!
2017-05-08 8:10 GMT+02:00 Tom Chadwin <tom.chadwin at nnpa.org.uk>:
> Re: qgis2web. Nathan enabled expressions with his fantastic qgs2js:
> https://github.com/NathanW2/qgs2js. There are two ways in which its
> implementation is incomplete, and I've worked to develop it when I can:
>
> - only a small subset of functions have yet been coded, and I'd be really
> grateful for help writing more: see
> https://github.com/tomchadwin/qgis2web/blob/master/js/qgis2web_expressions.js
>
> - this code is only called in a couple of locations (from memory, labels and
> rules), so your list could be a huge help
>
> Thanks once again to Nathan for the huge contribution
>
> Tom
>
>
>
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Expression-Functions-Where-are-they-used-in-QGIS-Desktop-Which-ones-won-t-work-outsid-tp5319646p5319688.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the QGIS-Developer
mailing list