[OSRM-talk] What is the maximum number of alternate routes?
Dennis, What is the maximum number of potential alternate routes I can safely assume will be returned? Or is there no fixed number? Thanks, -Steve ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk
Re: [OSRM-talk] What is the maximum number of alternate routes?
On Mon, Nov 18, 2013 at 11:55:56AM -0500, Stephen Woodbridge wrote: Dennis, What is the maximum number of potential alternate routes I can safely assume will be returned? Or is there no fixed number? Computer says no :) The code says currently only 1 alternative route - at least thats what i found in the code ... Flo -- Florian Lohoff f...@zz.de signature.asc Description: Digital signature ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk
Re: [OSRM-talk] What is the maximum number of alternate routes?
On 11/18/2013 12:05 PM, Florian Lohoff wrote: On Mon, Nov 18, 2013 at 11:55:56AM -0500, Stephen Woodbridge wrote: Dennis, What is the maximum number of potential alternate routes I can safely assume will be returned? Or is there no fixed number? Computer says no :) The code says currently only 1 alternative route - at least thats what i found in the code ... 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. Thanks, -Steve ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk
Re: [OSRM-talk] What is the maximum number of alternate routes?
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...@zz.de signature.asc Description: Digital signature ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk