Timeline for Extracting feature attributes/geometry using PyQGIS
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 16, 2021 at 17:11 | vote | accept | sdunnim | ||
Nov 16, 2021 at 5:11 | answer | added | nr_aus | timeline score: 1 | |
Nov 18, 2020 at 14:51 | comment | added | sdunnim | @BERA under the (Derived) dropdown there are two Z values (Closest vertex and Interpolated) for the contours (visible in the first picture), and now they are extracted to vertices each vertex has a Z value under the same dropdown. I assumed this was just a stored z value, but it may be just an attribute called 'Z' I guess... What is the difference? And how would I extract it for each vertex via PyQGIS? | |
Nov 18, 2020 at 14:43 | comment | added | Bera | Are you sure your lines have z values? Or is it an attribute/ a column? | |
Nov 18, 2020 at 14:40 | comment | added | sdunnim | @BERA I have been able to extract the vertices into a layer; I'm now trying to extract the x,y,z coordinates of each point (this is easier for me than going through the raster method), but can't get it to work. I have followed a couple of the answers from the following link, but nothing is getting printed to my console: gis.stackexchange.com/questions/53594/… | |
Nov 18, 2020 at 13:11 | comment | added | sdunnim | @BERA Thanks for the suggestion, I will try that | |
Nov 18, 2020 at 12:41 | review | First posts | |||
Nov 18, 2020 at 12:56 | |||||
Nov 18, 2020 at 12:41 | comment | added | Bera | I would try Extract vertices tool to create a point layer, then TIN interpolation. Then you have your raster | |
Nov 18, 2020 at 12:35 | history | asked | sdunnim | CC BY-SA 4.0 |