Writing a Processing Script - PyQGIS Masterclass

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 4

  • @joegodby3750
    @joegodby3750 3 месяца назад +1

    Hi Ujaval, is there a specific location where you can find the Python source code for each of the Processing Tools int the Toolbox?

    • @SpatialThoughts
      @SpatialThoughts  3 месяца назад +1

      Good question. Since QGIS is open-source - all the code is available on github. Just search for the ID of the algorithm to see it. Most algorithms are written in C++, some are Python. github.com/search?q=repo%3Aqgis%2FQGIS+zonalstatisticsfb&type=code

  • @sarfrazhasan2137
    @sarfrazhasan2137 11 дней назад

    There are minor mistakes in the video like at 17:29 when it says f.setProgress(progress); that is not possible. By looking at the documentation it gets clarified. It is feedback.setProgress(progress). Similarly, at 15:38 save_options were also not defined. Since the document is super descriptive everything is pretty explained.

    • @SpatialThoughts
      @SpatialThoughts  9 дней назад

      Thanks for reporting. You are correct. I was coding from memory and there are some bugs. As you mention - the course material has the correct and working code so please use that instead.