pure-maps icon indicating copy to clipboard operation
pure-maps copied to clipboard

Route incorrect and incomplete with GPX Smart provider

Open jogubo opened this issue 3 years ago • 3 comments

Context

When I create a GPX file with BRouter, and I select GPX Smart for navigation, the route is incorrect and incomplete

Steps to reproduce

  • Create route with BRouter and export it.
  • In Pure Maps, import GPX file and use 'GPX Smart' provider

Example

BRouter GPX file

jogubo avatar Jun 08 '22 18:06 jogubo

That provider (GPX Smart) requires you to have offline server (OSM Scout Server) working and having maps covering the region of interest. Then, if it is for cycling, corresponding mode has to be selected.

Does GPX provider work?

rinigus avatar Jun 08 '22 19:06 rinigus

OSM Scout Server is installed and there are map, bike mode is selected. GPX Provider works fine

jogubo avatar Jun 08 '22 19:06 jogubo

Looks like BRouter is using https://www.openstreetmap.org/relation/10863802 and probably similar. OSM Scout Server doesn't use it in its calculations and hence cannot reproduce GPX route as it should through its router. Notice that https://www.openstreetmap.org/way/52072553 can be used by OSM Scout Server, but that one has bicycle related tag.

So, it is down to the fact that OSM maps are not tagged properly and those tags should be added there. As for end result - incomplete and incorrect route, would have to think how to approach it and show on the map.

rinigus avatar Jun 12 '22 18:06 rinigus