[Routing] [OSM-talk] www.OpenRouteService.org now supports Bicycle Routing with OSM Data

Nic Roets nroets at gmail.com
Tue Jul 8 10:38:57 BST 2008


> Haven't you done the very same yourself - written a routing app
> although you could have used existing libraries?

Existing libraries carry huge space overheads. That's unsuitable for
mobile devices and it will require expensive hardware to host a planet
wide service.

Existing libraries rarely combine routing and rendering.

But the main point is : Existing libraries like boost would not have
lead to simpler code (Halstead  metric or lines of code metric).
Things like "add to heap" and "hash this value" are only one or two
lines. If I needed balanced trees, I would have used a library.

One (non-existent) library that all the OSM routing programs can
benefit from will simply convert the OSMXML stream into a more regular
structure. E.g. add foot={yes,no} to every way for which it's not
specified. So it's not really a library, but more of a shell script.




More information about the Routing mailing list