3

In a QGIS project im using a custom expression.

As far as i know they are stored locally in a .py file located in the user profile.

What would be the solution to make this custom expression "portable" so that my QGIS project could be distributed ?

Is there any possibilities to define this custom expression in the project's python macros ?

2

Yes, you can safely move the expression definition to sit within a particular project's startup macro and all will work as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.