Geographic Information Systems Asked by NoSyu on October 3, 2020
I want to get real line segment dataset to do an experiment. So I searched it, and found the site that includes the real data: http://www.wsdot.wa.gov/mapsdata/geodatacatalog/
From this, I downloaded railroad data and opened it with QGIS. I want to get the end points of each line segment (or feature) in the data. When I click the one feature in vector layer, I can see the firstX, firstY, lastX and lastY in 'Identify Results'
window. I think this information is what I needed.
However, I cannot find the way to export this information to .csv
-file or text file. I searched, but all of these solutions are not working for me:
How can I export end points of each line segment in such dataset?
A very simple solution is as follows:
xat(0)
. This will give you the x location of the first point in your line.There are other approaches, but this one gives you a column for each x or y coordinate for the first and last points in your line and nothing more - which is what I understand to be your request. It also requires no coding.
Correct answer by MappaGnosis on October 3, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP