[Routing] Driving directions web map
Lambertus
osm at na1400.info
Wed Oct 8 15:28:30 BST 2008
Gil Matityahu wrote:
> Lambertus,
> It works great now, but it is awfully slow.(like 15 seconds per request)
> Is this a server issue, or a coding issue? Is there anyway you could run
> this map on your own server, or must you link to OSM server?
What exactly is slow? There are multiple possible sources of slowness:
- The conversion from name to coordinate (e.g. the text fields)
- Loading the map tiles
- Calculating the route
> This is very interesting and something I would like to learn and
> implement into my own applications. Does this map have all of the
> necessary data for a perfect routing solution? (e.g one way streets)
>
One cannot say that OpenStreetMap has all the necessary data. OSM is a
work in progress and there will be constant changes and additions. But,
yes, oneway streets can, are and should be mapped :)
The route calculation application is also a bit crude in its assumptions
now and then. There are tons of things to improve everywhere. Just try
some routes and see if it works well enough for you.
More information about the Routing
mailing list