[Routing] Routing web-services?
streetmap at blibbleblobble.co.uk
Mon Nov 19 20:18:24 GMT 2007
On Monday 19 November 2007 20:03:26 Nic Roets wrote:
> I'm to make a cgi-bin version of gosmore that does this. So if we can agree
> on an interface now, it will hopefully not be too long before gosmore
> catches up.
> 6. Y for fastest route, N for shortest
It might be easier to just consider this to be part of the "mode" field
so "vehicle type" might become
* "car, fastest route"
* "car, shortest route"
* "car, non-motorway"
* "car, quiet roads"
> 7. Y to output way names, N to output way IDs
Not having the option for way names could potentially make implementations a
lot simpler (e.g. allows fixed-width output, routing servers not required to
store road names) and clients can go to OSMXAPI with the list of way numbers
if they want more info.
The only other option I could think of for the interface is "format" (binary,
text, json, or xml)
> 4. Bearing to travel
> 5. Length of leg
> Note that 4 and 5 are actually redundant.
Agree about those being redundant - probably easier for the client to
calculate that if they want it.
More information about the Routing