itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 69 forks source link

Found a case where a duplicate edge is not correctly loaded. #110

Closed xivk closed 6 years ago

xivk commented 7 years ago

http://geojson.io/#id=gist:anonymous/738e7f8c50dc591b089b4d9d694a0245&map=19/52.51097/4.94420

Perhaps we should consider two steps in loading the network. Because duplicate edges are not allowed we prevent them by adding intermediate vertices along the edge shape, that's probably whats going wrong here. If we work in two steps we could greatly simplify this process:

  1. Load from OSM while allowing duplicate edges.
  2. Postprocess network to remove the duplicates.

This has only advantages: