I need to get the code of a plugin (point sampling tool), to automate the process.

I know how to do it in regular tools, using this


But how can I use it for plugins?

1 Answer 1


In QGIS, navigate "Settings > User profiles > Open active profile folder", then go to python\plugins\pointsamplingtool. All process is in doPointSamplingTool.py file.

Your Answer

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

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