Distance of points along a line
I have a line feature with 120 points along the line at non-regular intervals. I'd like to get the distance along the line for each point. The points have elevation information - bonus points for getting station-elevation data along the line. I created the snapped points by using "Move Selected Points to Nearest Line" and could create a vertex at the location of each point if that was necessary.
Tagged:
Answers
-
The ultimate goal for me was to snap channel thalweg survey data to a centerline and get station-elevation data for the new survey data. Here's the workflow I came up with:1. import points shapefile with all thalweg survey points
2. import line shapefile represented centerline or normalizing line
3. select line and all points
4. snap points to line (right click, Move/Reshape features..., Move Selected Points to Nearest Line)
5. convert the line to points at the vertices along the line (right click, advanced feature creation options, create new points from selected area and line features).
6. convert all the points (newly created plus those you provided) into a new line feature (select all points, right click, create line features, create new line features from selected points).
7. extract vertex data from newly created line (right click, edit, vertices, copy to clipboard, paste to excel).
8. vertices in excel with non-zero elevation data are the surveyed points with total length along the line noted in Column F.
-
Nice! I like it.Is there any way of getting the distance that each of those points has moved when you reprojected them onto the line feature? I need to do the same thing as you, but I need to work out the distance along the line of every point and the distance of every point from the line (with negative being to the left of the line and positive being to the right of the line when looking along it). In my industry (hydrographic survey) we call this "Distance-Cross-Course" or "Distance-Off-Line". Any ideas????Rob
Categories
- 12.6K All Categories
- 5.5K Features Discussion
- 337 Downloading Imagery
- 1.3K Elevation Data
- 379 Georeferencing Imagery Discussion
- 620 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 405 Projection Questions
- 815 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 171 Announcement and News
- 897 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 559 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 231 How I use Global Mapper
- 106 Global Mapper Forum Website