Skip to main content
Solved

More accurate line length using elevation / DEM

  • August 29, 2016
  • 2 replies
  • 23 views

fmelizard
Safer
Forum|alt.badge.img+21

How can I calculate a more accurate line length using a DEM?

Best answer by fmelizard

There are probably a few ways to do this, but here is one way.

Chopper —> PointOnRasterValueExtractor —> 3DForcer —> PointConnector —> LengthCalculator

  1. Chopper: split the line into points (max vertices = 1)
  2. PointOnRasterValueExtractor: get the elevation from the raster to the points.
  3. 3DForcer: force the point features to use the elevation as the z component.
  4. PointConnecter: connect the points into a line again.
  5. LengthCalculator: calculate the length using all three dimensions.

I wonder how others are doing this?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • Best Answer
  • August 29, 2016

There are probably a few ways to do this, but here is one way.

Chopper —> PointOnRasterValueExtractor —> 3DForcer —> PointConnector —> LengthCalculator

  1. Chopper: split the line into points (max vertices = 1)
  2. PointOnRasterValueExtractor: get the elevation from the raster to the points.
  3. 3DForcer: force the point features to use the elevation as the z component.
  4. PointConnecter: connect the points into a line again.
  5. LengthCalculator: calculate the length using all three dimensions.

I wonder how others are doing this?


daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • August 29, 2016

Conform the lines to the DEM surface with the SurfaceDraper before measuring the length with the LengthCalculator.