Routing website using Gosmore routing engine

@Lambertus: I sent you a mail with HTML and CSS … i hope it will help you to make the map width variable …

That’s very cool, thanks! I’ll look into it.

BTW. I can’t get Gosmore to do a rebuild of it’s database so unfortunately no routing atm…:rolleyes:

Good news, a patch for Gosmore persuades it to rebuild the routing database again. So the routing service should be back in business again. Sorry for any inconvenience…

Unfortunately I have not received your mail. Can you send the patch to osm at na1400 dot info please? Thanks!

I tried to send it via the form in the forum. Now i sent it to your E-Mail…

If you have any questions about it, you can ask me.

One small request, related to the database update behind the routing engine. Is it possible to put something like “Last update: 10/09/2008” (or similar) just under “Data by OpenStreetmap”? This way if somebody who doesn’t know when the planet file is generated visits the site, they will know what to expect.

Done, it’s at the bottom of the page currently. The time is misleading when a new planet-latest file has been downloaded but the processing has not yet completed, but this situation only true a few hours per week.

oh nice could you let the openstreetmap link in the corner be a permalink to openstreetmap.org/?lat=...&lon=… . So it’s easy to edit the place you are currently routing in.

EDIT: it seems I to missed the Edit button, I guess it’s what you are used of that you look for. But I think a permalink like that should be standard on all Openlayer maps.

Something like this added to the map should work. I will try to add it, but the edit button works so it’s not very important.

PermaLink = new OpenLayers.Control.Permalink('');:wink:

True… Interesting I missed it though , I guess it’s only because neither NL tileserver nor informationfreeway gives this option.

Well, maybe YOURS proves to be a trendsetting application where others will follow soon :slight_smile:

Thanks for putting the last update information. But now I have another small request (or at least it looks small from this side): a button that will invert the route (change the destination with the start, and the other way around)

The reason for this is that sometimes I found some oneway streets that create a lot of problems and this feature will make things easier.

Hi

I have a suggestion for routing.
Google Map, Mappy, etc. cannot use the routing service with metro, tramway.

Since this type of data is in OSM (like in Paris, London, etc.), why not adding a “by public transport” category ?
This way, I can go from start to end

  • by car
  • by foot
  • by bike
  • by foot + public transport

For example :
http://tile.openstreetmap.nl/~lambertus/routing-world/?flat=51.501107&flon=-0.124625&tlat=51.506931&tlon=-0.143121&v=foot&fast=1&layer=mapnik
It should be easier to take the tube, no ?

I think it would be a huge improvement for your routing tool.
What do you think ?

@ciprian: That’s a nice idea. Thanks.

@Michael: The types of routing transport is limited by the Gosmore routing engine which is not my development. Having public transport routing would be great, but requires timetables to be added to the database as well. I don’t think there is even any tagging standards for that yet, let alone that there is an usable amount of data in the database…

I should have a look in gosmore website…

Hum… I guess it is not so easy. It depends a lot of the type of public transport.
If you’re in a big city, with metro and trolleys every 2 minutes, you don’t need any timetable : you “just” need to count the number of stops and line changes to compare 2 different ways. (as we do for cars, we can say “a metro runs about 15km/h ans each stop means 2 minutes” + changing from one line to another takes an average of 10 minutes). I 'am aware this is a very rough thinking “from scratch” and must be deeply worked…

I think it is much more difficult for trains/boat, etc. because of the timetable issue

hum…I should look for routing discussion in osm wiki / forum to see if there are some talks about city public transport routing

Updates:

  • Registered a domain for yours: http://www.yournavigation.org.
  • Use different icons for the ‘to’ and ‘from’ markers (from = green, to = red).
  • Changed ‘edit map’ button to ‘edit map’ link on the map.
  • Added route reverse button.
  • Cycleroute layer can now calculate routes without the need for the ‘to’ and ‘from’ to be near a cycleroute and gaps in cycleroutes won’t break navigation. Downside to this is that routing only has a preference to cycleroutes but also regularly takes shortcuts using non-cycleroutes. This behavior is tweakable though.
  • Route calculation now also covers the whole of the American continent.

Actually it’s much easier to have 500 bus stations/subway stations/boat boardings each with a destination and time table, than to make a custom “algorithm”. So if you have those timetables in a good format then I’m sure someone (graphserver) has done the routing part. Google Transit springs to mind as well.

Hi,

I am working on a gps tracking system at http://woophoo.com and have just integrated our mobile client with the route plannig of yournavigation.org. This is only an experiment now to see if osm data is applicable for route planning, so I don’t count on heavy traffic in the coming months. We plan to run our own route plan server in the future.

Thanks for the great service and please report us if we create problems!

put a “You can die if you use this” note somewhere…

That’s awesome :slight_smile:

As a note:

  • I’m currently working on adding driving directions to the route results, this will change the KML document a bit. I’m not sure I can provide backwards compatibility. I’ll try to notify you before I switch to this new version.
  • Give me a poke if you want to experiment with hosting Gosmore yourself before that. I can provide the API php file and tips on howto use Gosmore.
  • There’s also an Italian website geared towards mountainbiking that is implementing the YOURS API, however I forgot the domain name…

I’ve added your project to the list of YOUS API users.

Thanks a lot!

I am crazy about driving directions! Our route planning feature is marked experimental now so incompatibility is not the end of the world, but I think addressing it early is a good idea. Maybe the version of the API can go into the url like /2/gosmore.php or ?ver=2 .

You can find me as krisztian.schaffer at google mail if you want to notify me about the changes.

Note that I plan to assemble a technologies/partners page on the woophoo site, of course with a link to YOURS.

Thank you again!