Geographic Information Systems Asked on December 3, 2021
I need to store the z value for hiking paths. I have the GPS coordinates (points) and the tracks (polylines). I know I can store elevation data easily with the points but are there any ways of storing elevation data with polylines?
I would like to avoid having to make a huge table of a gigantic collection of points so I would prefer to only store the tracks. I am using QGIS.
If you add the GPS data to QGIS as a GPX file, it will load as a set of points with Z (elevation) values (PointZ).
Using the Points to Path tool from Processing (quickest access using ctrl-K or cmd-K to search), select the added layer:
The only challenge is getting the 'order' field correct (and it's not optional); many GPS units don't save a date/time to the 'time' field in the GPX, sometimes saving it in the 'cmt' or 'desc' fields, which are often overwritten with descriptive text. You may have to make a new version of the layer (select-all then Edit | Paste Features As | Temporary scratch layer
) and add an 'order' column and add integer values to set the order you want to use.
The output will be a LineStringZ geometry with X, Y, Z where the Z value comes from the elevation at that point.
Answered by Simbamangu on December 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP