[Qgis-user] Python Code of functions in expression builder

Fuenfer-Koenigstein.Benjamin at swm.de Fuenfer-Koenigstein.Benjamin at swm.de
Mon Jun 26 02:22:01 PDT 2017


Hi,

I’m looking for the python code of the geometry function „project“ that shifts points by azimuth and distance. I couldn’t find this in .qgis2/python/plugins/refFunctions (Windows). Any idea where I can find it?

Thanks!

Regards
Benjamin

Von: Neumann, Andreas [mailto:a.neumann at carto.net]
Gesendet: Freitag, 23. Juni 2017 11:15
An: Fuenfer-Koenigstein.Benjamin G-PRA
Cc: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] Python Code of functions in expression builder


Hi Benjamin,

Of course they can be found in the Python folder ;-)

Go to .qgis2 (in Windows in the user profile folder, in Linux/OSX in the home folder), then to "python/plugins/qgsexpressionsplus" or "python/plugins/refFunctions".

Self-written custom Python functions end up in "python/expressions" and your chosen filename when you created the expressions.

Andreas

On 2017-06-23 10:55, Fuenfer-Koenigstein.Benjamin at swm.de<mailto:Fuenfer-Koenigstein.Benjamin at swm.de> wrote:
Hi all,

I’m looking for the folder where the python files of functions available in expression builder are installed. I want to get some inspiration for a special custom function I have to write. Thanks for any help!

Best regards
Benjamin


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170626/46e38cb7/attachment.html>


More information about the Qgis-user mailing list