QGIS Python (PyQGIS) - Access vector layer attributes

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 8

  • @juancarlosvelazquez7920
    @juancarlosvelazquez7920 4 ปีที่แล้ว +1

    Many thanks from Spain! It was very helpful

  • @rodrigoperdigao9074
    @rodrigoperdigao9074 4 ปีที่แล้ว +1

    Thank you for the video. It realy helped me.

  • @ellisondk
    @ellisondk 4 ปีที่แล้ว

    Do you have a video about modifying a feature's data given another feature value? for example, if I have a file of bridges with names but I want to add the date of construction based on a CSV file. Can I read that CSV file and add that date to a field for a feature using PYQGIS?

    • @geospatialschool
      @geospatialschool  4 ปีที่แล้ว

      There are a couple of ways to do this. If your dates csv has an identifier for bridge id that is also available for each feature, then you can use a join. I don't think I have a YT video on joining, but there is a section about it in this course (opensourceoptions.com/course/pyqgis-learn-the-qgis-python-api/), which includes an example with data. You can also use a loop to do it row-by-row. You could also create a new field and loop through each row to add the appropriate date. This video could help you get started: th-cam.com/video/NpezagWMHtg/w-d-xo.html

  • @ing.3291
    @ing.3291 4 ปีที่แล้ว

    hi, great video. I was wondering if I could access the attribute table add a new column and edit some cells. If so, how can it be done?

    • @geospatialschool
      @geospatialschool  4 ปีที่แล้ว

      Yes you can do this. On my website I have an entire course on QGIS Python, complete with data and code. The course will show you how to do this. You can check it out here: opensourceoptions.com/courses/courses/pyqgis-learn-the-qgis-python-api/

  • @jeepjr
    @jeepjr 5 ปีที่แล้ว

    GREAT VIDEOS, CONGRATULATIONS.
    PORDERIA HELP ME IN A LANGUAGE CONVERSION FROM GOOGLE ENGINE TO PYTHON.