Skip to main content

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

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?


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


Reply