[OSM-talk] YOURS now supports route using only cycleroutes - Update
Lambertus
osm at na1400.info
Fri Sep 12 10:47:24 BST 2008
After some more though, there is a 'solution' for this. I'm not sure it
will produce the best results in every case, but it's worth a try.
Consider this:
House -> cycleways -> cycle routes -> cycleways -> Work
The cycleroute instance of Gosmore given the House and Work coordinates
will produce a route using cycle routes from coordinates nearest to the
House and Work coordinates. We'll name these to and from coordinates
House_cn and Work_cn hereafter.
Then the route is calculated from House to House_cn and Work_cn to Work
using the normal Gosmore instance. These three routes combined will give
you a route from House to Work using cycleroutes as much and fast
(closest) to your House and Work as possible. The only adjustment to
Gosmore would be to persuade it to find the nearest way from a given
coordinate even for large distances instead of the few dozen meters it
allows now.
Would this suit your expectations?
Shaun McDonald wrote:
> Lambertus wrote:
>> Please note that the routing database is *only* filled with cycle
>> routes that are mapped using *relations*. So there is no routing
>> using cycle routes rendered on the Cycle map layer mapped with tags
>> like 'ncn_ref' only...
>>
>> Unfortunately you can't see the difference on the cycle map, but when
>> the website reports: 'Unable to calculate a route' then you can be
>> pretty sure this is because of the above.
>>
>
> This explains why I can't route from my house to work, where at each
> end there is no local cycle route, and there are several small bits in
> the middle where you cannot route over. This is either due to me not
> having bothered to split the way, or as you say, there is a break in
> the relation.
>
> It would be really cool if you could have an edit permalink so that
> you can edit the data on the openstreetmap web site.
>
> Would it be possible for you to have a different marker for the start
> and end?
>
> Finally I was initially expecting a routing system that would prefer
> cycle routes, however this makes an excellent data validation/testing
> tool.
>
> Shaun
More information about the talk
mailing list