Hi Andreas, it can be found in expression builder, Group „Geometry”, function name “project”. Syntax: project(point, distance, bearing).
Regards Benjamin Von: Neumann, Andreas [mailto:a.neum...@carto.net] Gesendet: Montag, 26. Juni 2017 11:29 An: Fuenfer-Koenigstein.Benjamin G-PRA Cc: qgis-user@lists.osgeo.org Betreff: Re: AW: [Qgis-user] Python Code of functions in expression builder Hi Benjamin, What ist the exact name of the expression? Are you sure it is a Python expression? If it is a built-in expression it is most likely implemented in C++. Andreas On 2017-06-26 11:22, fuenfer-koenigstein.benja...@swm.de<mailto:fuenfer-koenigstein.benja...@swm.de> wrote: 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.neum...@carto.net] Gesendet: Freitag, 23. Juni 2017 11:15 An: Fuenfer-Koenigstein.Benjamin G-PRA Cc: qgis-user@lists.osgeo.org<mailto:qgis-user@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.benja...@swm.de<mailto:fuenfer-koenigstein.benja...@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@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user