[OSRM-talk] crossing the dateline
Martin Koppenhoefer
dieterdreist at gmail.com
Tue Mar 18 19:12:11 UTC 2014
I noticed that OSRM (or maybe this is only a frontend problem) is not aware
of the lon-restrictions. Basically if you zoom out and drag the marker you
get coords like this: 40.446947, 269.296875
when you try to route from one america to the other (e.g. in zoom 2 or 3),
and no route is found. I believe it would be quite simple to solve this
(long=long-180*math-floor(long/180)) or similar.
cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140318/2a652340/attachment.html>
More information about the OSRM-talk
mailing list