[OSRM-talk] polyline usage?
Bjorn Madsen
bm at multiagenttechnology.com
Thu Dec 17 17:14:06 UTC 2015
Hi - I'm wondering what the better option is to get the polyline out as
list of latlons
As example I'm using:
waypoints = [(51.460982, -2.588994), (53.348429, -6.255323)]
which gives this long polyline http://pastebin.com/dhMZ2Nqb
However, when I decode it, I get (the first 5 records only)
0000 = {tuple} (514.60953, -25.88957)
0001 = {tuple} (514.61061, -25.88728)
0002 = {tuple} (514.60382, -25.88428)
0003 = {tuple} (514.59867, -25.88208)
0004 = {tuple} (514.59651, -25.88124)
Any idea to what I'm doing wrong? Has the encoding changed from:
http://code.google.com/apis/maps/documentation/polylinealgorithm.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20151217/758590d6/attachment.html>
More information about the OSRM-talk
mailing list