Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bad route calculated - Bug in NetworkSimplification and Solution - set the NetworkSimplificationEpsilon value to 0 #367

Copy link
Copy link
@JuergenAuer

Description

@JuergenAuer
Issue body actions

Calculating a route I saw a terrible route.

2023-11-10 Routing-Bug-Itinero-Lastrup

Start (green): 52.804074329307014,7.860560745843029

Destination (red): 52.79903996107103,7.846146697991908

Germany, Niedersachsen, near Lastrup. Standard-Car-Profile without any modification. Germany-latest or Niedersachsen-latest.

Other routers are ok.

A lot of search, now a solution.

The NetworkSimplificationEpsilon has a standard value of 1.0.

Removing this (= 0.0), the error is gone.

_loadSettings = New Itinero.IO.OSM.LoadSettings()
_loadSettings.NetworkSimplificationEpsilon = 0.0
_routerDb.LoadOsmData(_fS, _loadSettings, Vehicle.Car)

NetworkSimplificationEpsilon
Gets or sets the network simplification epsilon (in meter). When zero no network simplification is done.

Looks like this network simplification has some bad effects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.