QGIS Python - Use Processing Tools in a Python Script

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 26

  • @JohnKessel-c5n
    @JohnKessel-c5n Рік тому

    This is an older video, but it still applies. I was able to use these tips to add some additional housekeeping code to a script that I had developed but could easily get to run the housekeeping items that I didn't want to run manually. Really helpful for beginners like me!

    • @geospatialschool
      @geospatialschool  Рік тому

      Awesome! I'm glad it was helpful. My opinion is that writing code is not as hard as it seems and anyone with GIS skills can learn to write code

  • @elzbietazielinska6484
    @elzbietazielinska6484 4 роки тому +1

    Thank you very much! I have been struggling to write a script in my work (I am not even a programmer but I try things) and I wasn`t aware that I can combine python and QGIS tools so easily! This saves me a lot of time.

  • @umee1999
    @umee1999 Рік тому

    Thanks a lot guy , I have got a problem about Fixing Geometry and I use this clip to guide me. And it works.

  • @buannelgeosolution
    @buannelgeosolution Рік тому

    Please Answer: How to generate intermediate temporary layer in processing. Use this temporary layer in another process in the same script.

  • @AnimationLook
    @AnimationLook Рік тому

    Can you show the use of the editor and write your own plugin?

    • @geospatialschool
      @geospatialschool  Рік тому

      I have a full course on creating QGIS plugins: geospatialschool.com/courses/qgis-python-plugin-development/
      I also have a full course on using the QGIS Python API: geospatialschool.com/courses/qgis-python-scripting-with-pyqgis/
      If you're looking for free content, there are other videos covering the basics on the YT channel.

  • @alessandrofanfani8109
    @alessandrofanfani8109 4 роки тому +1

    Thank you very much it is very important for me

  • @E2I-Community
    @E2I-Community 3 роки тому +1

    thanks a lot for handy tips!

  • @selvalakshmi1072
    @selvalakshmi1072 3 роки тому

    I have a processing script where I need to polygonize multiple rasters the code runs without an error but the results are not shown in proper location even if the output directory was defined. The log message depict that the result is stored in an local/ temp folder in an inappropriate name. Someone pls help me to resolve it

  • @snehakawale8663
    @snehakawale8663 4 роки тому +1

    how to find the crossover area between the different shapefiles?

  • @joaofolgado3316
    @joaofolgado3316 3 роки тому

    Hi there,
    Do you know how to use multiprocessing in qgis.
    When i use multiprocessing in plugin they start a new instance of the aplication and give me a error.
    I search for some information but i can't fine.
    Can you help me ?
    thank you very much

    • @geospatialschool
      @geospatialschool  3 роки тому

      I haven't tried to use multiprocessing with QGIS. I can see how it could create some problems. My guess is that you would be able to use multiprocessing, but there are probably certain API calls that won't work. For example, anything to iface, or the current QGIS instance. I'll try to look into it sometime.

  • @aaronschwartz7396
    @aaronschwartz7396 4 роки тому

    why do I only get syntax errors when doing exactly what he does here?

  • @andresbraga3555
    @andresbraga3555 5 років тому +1

    thank you very much!!

  • @vladuttomsa852
    @vladuttomsa852 2 роки тому

    thank you ! One of the best hack ! 😎

  • @poojarh2181
    @poojarh2181 5 років тому

    i am not getting output file. it is showing empty.

  • @saskiagindraux2752
    @saskiagindraux2752 5 років тому +1

    Cheers!

  • @gtosevram
    @gtosevram 2 роки тому +1

    Why should one do this instead of pushing a button?? (not joking or trying to be provocative)

    • @geospatialschool
      @geospatialschool  2 роки тому

      Good questions. Because you might want to make a script that performs multiple operations in sequence with a set of arguments or parameters that don't change. This would make your workflows reproducible. You can also script this out to run for multiple files so you don't have to click through the operation manually if you need to do it 100 times.

  • @trapOrdoom
    @trapOrdoom 4 роки тому

    Godlike.

  • @crazyvashisth
    @crazyvashisth 5 років тому

    Now that's a great hack 😁😁😁😁😁