[OSRM-talk] Improve node location precision in compute route
Emil Tin
ZF0F at tmf.kk.dk
Thu Apr 11 10:25:01 UTC 2013
It's not possible with the current version.
However, a few months ago I did a branch that increases precision to 7 decimals:
https://github.com/ibikecph/Project-OSRM/tree/feature/7decimals
As far as I recall, it's functional. I just tried running the tests and most pass. There might be issues with the route geometry, not sure.
You could try compiling the code and see if it works for your purpose.
Kind regards,
Emil Tin
IT- and Process Specialist
Traffic Design
________________________________
CITY OF COPENHAGEN
The Technical and Environmental Administration
Traffic Department
Islands Brygge 37 Vær. 118
Postboks 450
2300 København S
Telefon +45 2369 5986
Email ZF0F at tmf.kk.dk
EAN 5798009493149
-----Oprindelig meddelelse-----
Fra: Alex Tsang [mailto:alex.tsang at senstation.com]
Sendt: 11. april 2013 07:25
Til: osrm-talk at openstreetmap.org
Emne: [OSRM-talk] Improve node location precision in compute route
Hi all,
I have a simple map of small area, the nodes are separated by 1 to 3
meters only. When I try to use OSRM to compute the route of travelling
from one node to another, sometimes the location of nodes are not
precise enough, making the result a bit confusing. For example, I have
3 nodes on the map:
node A: 22.3077561, 114.2236518
node B: 22.3077357, 114.2236591
node C: 22.3077495, 114.2236773
The computed route to travel from node A to C reported by OSRM:
...
<rtept lat="22.30773" lon="114.22365"/>
<rtept lat="22.30773" lon="114.22365"/>
<rtept lat="22.30774" lon="114.22367"/>
...
You can see that the latitude and longitude value of first 2 nodes are
the same, but in fact they are 2 distinct nodes. May I know whether it
is possible to add parameters in the query string to improve the
precision of output result, or do not truncate the latitude/ longitude
value to 5 decimal places?
Thank you very much.
Alex Tsang
_______________________________________________
OSRM-talk mailing list
OSRM-talk at openstreetmap.org
http://lists.openstreetmap.org/listinfo/osrm-talk
More information about the OSRM-talk
mailing list