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

Neumann, Andreas a.neumann at carto.net
Mon Jun 26 02:28:52 PDT 2017


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.Benjamin at 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.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 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
>> 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/7be7694b/attachment.html>


More information about the Qgis-user mailing list