Get coordinates from measurements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm working a lot with point cloud data, where the location of certain features often is of interest. Since the measure tool is the only way of obtaining the coordinates of objects, the workflow is to measure and then copy+paste the coordinates into a text editor.
But when it comes to obtaining hundreds of point coordinates, this procedure is really ineffective and cumbersome.
What I'd like to do is to create a plugin that captures the coordinates/points of the measurement tool and then writes to a text file.
A smooth way would be to use the event when the measurement tool is used, and write directly to a file. Another way would be to use the point line tool to measure several points and then export them all at the same time to a text file (assuming all attach points are saved/accessible).
So my main question is: How do I get hold of the coordinates of the measurement tool? Where are they in the API?
I'm new to API programming, so if anybody would like to help out further with the syntax, I'd be very thankful.