While getting myself familiar with OpenLayers, I also developed a very simple online routing app. It's using pyroutelib2 developed by Ojw, which in turn uses OJW's tile data server.
It works with some limitation: - It's hosted by Google AppEngine, which is free, but limited to 500MB storage and max. around 10 seconds CPU time per request. So tile cache will fill up pretty soon (even though I zip the XML in the storage), and long routing will not work until most tiles are cached. That means, if a long route times out, just retry it until the cache for that area is filled. Unfortunately I could not catch this time out exception to inform the user, maybe I did it in the wrong way. - Ojw's tile data server contains a copy of planet.osm from 2008-06-11, so some new ways or corrections may not be there yet. I did most my testings on some cities in Indonesia, where the OSM coverage is still very sparse. It worked nice though, and had a side effect of helping me find a lot of incorrectly tagged ways. I hope this is also useful for optimizing the routing information in the tags, and probably someday we will have a much better routing info than our commercial partners :-) Regards, Awi (Indomapper) On Mon, Aug 4, 2008 at 1:56 PM, Juan Guillermo Jordán Aldasoro < [EMAIL PROTECTED]> wrote: > Yeah, Graphserver is a powerful tool. > > If anyone want to see a working demo using the ruby bindings -not the > python ones described in the sourceforge site-, using OSM and Google > Transit data, visit: > http://demo.intermodal.es/ > > Juangui > > > Message: 2 > > Date: Mon, 28 Jul 2008 04:09:53 -0400 > > From: "Brandon Martin-Anderson" <[EMAIL PROTECTED]> > > Subject: [Routing] Yet another OSM routing tool > > To: [email protected], osm-dev <[EMAIL PROTECTED]> > > Message-ID: > > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > Morning Everyone, > > > > A lot of folks have done a lot of interesting work on routing on OSM > data. > > Over the last year I've been developing a multi-modal trip planning > engine, > > and one of the modes currently supported out-of-box is OpenStreetMap > > walking. Graphserver has undergone a lot of new development in the last > few > > weeks, and OSM routing has taken an increasingly central role. I just > > updated the main project page to reflect the new changes, and a > super-quick > > OSM "hello world" routing example is on the front page. > > > > Check it out here: > > http://graphserver.sourceforge.net/ > > > > And scroll down to the bottom of the page to the "Loading OpenStreetMap > > Data" section. > > > > Please keep in mind that Graphserver is not a trip planning website, > graph > > database, or broadly-scoped toolkit. It is a library into which one can > load > > large amounts of graph data and route across it very quickly. All the > other > > components of a trip planning webite are left, as the GS page says, as an > > exercise to the reader. > > > > Anyway, I'm proud to show off where things have come, and hope to get a > bit > > of feedback from everyone. > > > > -B > > > > > _______________________________________________ > Routing mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/routing >
_______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/listinfo/routing
