[OSRM-talk] What is the maximum number of alternate routes?

Florian Lohoff f at zz.de
Mon Nov 18 19:09:27 UTC 2013


On Mon, Nov 18, 2013 at 12:32:20PM -0500, Stephen Woodbridge wrote:
> Thank you for looking at the code, I was confused by the fact that:
> 
> "route_geometry": <string>
> "alternative_geometries":[<string>,...]
> 
> So "alternative_geometries" is plural and it is and array object.
> And "route_geometry" is singular and returns an string object.

It is an array of arrays e.g. it supports multiple alternative
geometries from the format. The code does currently only return
1 geometry ever.  I guess this can change anytime ;)

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20131118/8a3dd580/attachment.pgp>


More information about the OSRM-talk mailing list