[OSM-talk] YOURS now supports route using only cycleroutes -Update

Nic Roets nroets at gmail.com
Sun Sep 28 21:51:04 BST 2008


AFAIK, ORS is not FOSS. Neither has Lambertus published his source, although
I believe it will eventually be done.

The gosmore / YOURS API is quite simple. Input is basically the permalink
URL and the output is a list of coordinates in CSV format. It includes info
about the segments such as way names and junction types e.g. traffic_signals
/ mini_roundabout. So YOURS has enough info to generate verbose English
output, but it's just not implemented.

Currently gosmore does not allow it's routing parameters to be changed
between queries. It is a feature that's easy to implement that Lambertus has
asked me for. It will allow different YOURS users to have different
preferences, which will be pretty cool, but I may not get time to implement
it before 2009.

If YOURS can allow users to manage many different markers, it will be easier
to tweak routes. For example forcing the route from A to Z to visit B and
see how much of a detour it is. It sound like basic OpenLayers stuff, but
neither Lambertus nor I are experienced enough with it.

On Sun, Sep 28, 2008 at 8:34 PM, Peter Miller <peter.miller at itoworld.com>wrote:

> Given that we now have two web interfaces for routing and two routing
> engines would it make sense to try to standardise the interface? I know
> standards can be a pain, but so can a load of custom interfaces. Is
> anything
> like this being done?
>
> I believe that OpenRouteService uses an OGC standard for their interface.
> Is
> this what you use? If not is it too big, heavy and slow, or is it just not
> suitable or what?
>
> If it is usable then possibly you could put a wrapper around the routing
> engine you are using so that you can use the same interface as ORS. If you
> did that then you could possibly let people choose the routing engine they
> prefer and then possibly someone else might come out with a better routing
> engine with the same API and it would also be getting very interesting :)
>
> Anyway, thanks for what you have been doing. I am listening and
> experimenting. I have been tweeking the tagging in my home town each week
> to
> improve the routing using YOURS. It is still coming up with some weird
> routes that I can explain and I will report them to you if I become sure it
> isn't my fault. The details at the bottom of the page that report the
> dataset version is very useful. An RSS feed to this would be handy, as
> would
> more frequent updates if you can manage it. I find the weekly cycle of
> testing, changing, waiting means that problems take some time to get
> sorted.
> Mind you it is the same with Mapnik and the Cycle mapping.
>
>
>
> Regards,
>
>
> Peter
>
>
> > -----Original Message-----
> > From: talk-bounces at openstreetmap.org [mailto:talk-
> > bounces at openstreetmap.org] On Behalf Of Lambertus
> > Sent: 26 September 2008 11:15
> > To: Talk Openstreetmap
> > Subject: [Spam] Re: [OSM-talk] YOURS now supports route using only
> > cycleroutes -Update
> >
> > Stefan Monnier wrote:
> > > I'm not sure what is the status and goal of this site, so I don't know
> > > how interested you might be in "bug reports", but I just tried to get
> > > a fastest car route from Montréal Québec to New Haven, Connecticut, and
> > > the route stops in the middle of nowhere.  The "shortest" route seems
> > > OK, except it uses way too many little roads.
> > >
> > > Just for kicks, I also tried the fastest bicycle route from Montréal to
> > > Buenos Aires and it similarly stops in the middle of nowhere.
> > >
> >
> > Status:
> > - Website: heavily in development
> > - Routing engine: don't know (not maintained by me)
> >
> > Goal:
> > Use OpenStreetMap data to make a routing website utilizing as much other
> > (opensource) services/application as possible. I develop *only* the glue
> > logic; the webinterface.
> >
> > I'm always interested in bug reports, suggestions or code snippets but I
> > don't maintain the routing engine.
> >
> > Regarding your route from Montreal - New Haven, works for me.
> > fastest:
> > <http://www.yournavigation.org/?flat=41.308153&flon=-
> > 72.928158&tlat=45.531875&tlon=-73.636881&v=motorcar&fast=1&layer=mapnik>
> >
> > Shortest:
> > <http://www.yournavigation.org/?flat=41.308153&flon=-
> > 72.928158&tlat=45.531875&tlon=-73.636881&v=motorcar&fast=0&layer=mapnik>
> >
> > If a route stops somewhere between the start and stop coordinates then
> > the routing engine (Gosmore) wasn't able to calculate a complete route
> > and returns it's best solution (which might be using a lot of small
> > roads even when you chose 'fastest'). In case of Montreal - Buenos Aires
> > this is caused there isn't a continuing connecting road between those
> > cities. Especially in Central America there is a lot of 'here be
> > dragons' land. This effectively prevents routing between North and South
> > America.
> >
> > Although I've put some working long distance examples below there are
> > also situations where Gosmore just seems to 'give up' while a route is
> > possible. Example: just try to route from Berlin to Madrid (type those
> > names to get the coordinates). Gosmore is not able to return a complete
> > route but routes from Madrid to Amsterdam and from Amsterdam to Berlin
> > (or Madrid - Geneve - Berlin and many other in-betweens) are working
> > just fine.
> >
> > Some other examples:
> > Glasgow - London
> > <http://www.yournavigation.org/?flat=55.79274&flon=-
> > 4.354897&tlat=51.389725&tlon=-0.114174&v=motorcar&fast=1&layer=mapnik>
> >
> > GB: Northeastern tip - Southwestern tip, 1445km
> > <http://www.yournavigation.org/?flat=58.642109&flon=-
> > 3.068728&tlat=50.066191&tlon=-5.700649&v=motorcar&fast=1&layer=mapnik>
> >
> > Europe: Amsterdam - Madrid, 2056km
> > <
> http://www.yournavigation.org/?flat=52.36227&flon=4.798082&tlat=40.409275
> > &tlon=-3.710699&v=motorcar&fast=1&layer=mapnik>
> >
> > There are also other routing 'problems' (weird route decisions) which
> > are difficult to explain, so I'll create a wiki page for that where they
> > can be gathered which might help to solve common problems.
> >
> >
> >
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/talk
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080928/3a2b1a6c/attachment.html>


More information about the talk mailing list