Skip to content

Elevation costs & intermediate points #861

@EssBee59

Description

@EssBee59

Hello,

I discovered a minor problem in the calculation of the elevation cost.
(this cost can be examined in brouter-web, it is reported as "elev$")

Profile configuration:

assign downhillcost 100
assign downhillcutoff 0
assign uphillcost 100
assign uphillcutoff 0

==> example of calculation
https://brouter.de/brouter-web/#map=17/49.84684/8.81274/osm-mapnik-german_style&lonlats=8.814371,49.845984;8.811025,49.847626
elev$=425

This value looks ok.

But, when an intermediate point is inserted on the route.... the new elev$ differs grantly:

https://brouter.de/brouter-web/#map=16/49.8464/8.8135/osm-mapnik-german_style&lonlats=8.814371,49.845984;8.812696,49.846881;8.811025,49.847626

sum elev$=65+19=84

(also observed in old version such as 1.6.4)

The problem is limited, but in special situations really confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions