Skip to main content
Solved

More accurate line length using elevation / DEM


fmelizard
Safer
Forum|alt.badge.img+19

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?

View original
Did this help you find an answer to your question?

2 replies

fmelizard
Safer
Forum|alt.badge.img+19
  • 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+19
  • Safer
  • August 29, 2016

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings