... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
offline routeconverter ->graphhopper
#3
Im afraid you algorithm for that bounding box for the route doesn't work correctly. I did see that graphhopper downloads the osm.pbf files from geofabrik.
I mentioned that I calculated a route around Zwolle. The bounding box (I calculate) for the route is clearly and wide within the Netherlands and doesnt even come close to nordrhein-westfalen.
Same for Zoeterwoude to Den Haag: that bounding box is really and definitely inside the Netherlands. However, whichever route I try in the Netherlands, even if it is dead center in the Netherlands, never the netherlands-latest.osm.pbf is downloaded.

I'm not a java programmer so I do not entirely understand the code you are displaying, but I assume you estimate the route bounding box on the (min-latitude, min-longitude), (max-latitude, min-longitude), (max-latitude, max-longitude) and (min-latitude, max-longitude) of all the route points given.
(Or otherwise: bottom-left, top-left, top-right, bottom-right)
Reply


Messages In This Thread
RE: offline routeconverter ->graphhopper - by hvdwolf - 14.07.2015, 21:37

Forum Jump:


Users browsing this thread: 2 Guest(s)