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?
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
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/
Many thanks from Spain! It was very helpful
Great to hear!
Thank you for the video. It realy helped me.
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?
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
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?
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/
GREAT VIDEOS, CONGRATULATIONS.
PORDERIA HELP ME IN A LANGUAGE CONVERSION FROM GOOGLE ENGINE TO PYTHON.