[OSRM-talk] Improve node location precision in compute route

Robert Scott lists at humanleg.org.uk
Thu Apr 11 09:09:47 UTC 2013


On Thursday 11 April 2013, Robert Scott wrote:
> On Thursday 11 April 2013, Alex Tsang wrote:
> > 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?
> 
> I don't think it is, but the source is quite easy to edit: see convertInternalLatLonToString in Util/StringUtil.h

Actually, looking deeper into it, it seems that 5 d.p. is the precision it is stored in the database. So the extra precision just ain't there I'm afraid.


robert.



More information about the OSRM-talk mailing list