5

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 ?

asked May 3, 2019 at 13:38

1 Answer 1

4

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

answered May 4, 2019 at 12:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.