Class EdgeElevationSmoothingMovingAverage

java.lang.Object
com.graphhopper.reader.dem.EdgeElevationSmoothingMovingAverage

public class EdgeElevationSmoothingMovingAverage extends Object
Elevation data is read from DEM tiles that have data points for rectangular tiles usually having an edge length of 30 or 90 meter. Elevation in between the middle points of those tiles will be interpolated and weighted by the distance from a node to adjacent tile centers.

Ways that go along cliffs or ridges are particularly affected by ups and downs that do not reflect the actual elevation but may be artifacts originated from very accurately mapping when elevation has a lower resolution.

Author:
Christoph Lingg
  • Constructor Details

    • EdgeElevationSmoothingMovingAverage

      public EdgeElevationSmoothingMovingAverage()
  • Method Details

    • smooth

      public static void smooth(PointList geometry, double maxWindowSize)