Page MenuHomeBikewithme

Add OpenStreetMap cycle routes layer on Draw my ride
Open, NormalPublic

Description

For "Draw my route on map":

  • Add data for cycle routes in more countries. Currently only in Switzerland.
  • Make cycles routes clickable to display route number, or label route numbers directly on the map

Event Timeline

francois created this task.Mar 20 2016, 4:50 AM
francois mentioned this in Unknown Object (Maniphest Task).Mar 20 2016, 4:54 AM
jose added a comment.Mar 21 2016, 4:29 PM

What is here dateline?

The dateline is the +/- 180° meridian, where timezone jumps from GMT-12 to GMT+12.

I removed it.

francois removed a subscriber: rahul.Apr 15 2016, 9:42 PM

Little change last week, visible on dev.bikewm.com. Tiles design is now more useful for cycling (our tiles are now based on Mapbox "Outdoors" tiles, instead of Mapbox "Streets" tiles.).

E.g.

  • terrain shading and contour lines (aka elevation lines, "courbes de niveau" en français) are more prominent
  • peaks labels and altitude are visible
jose moved this task from Restricted Project Column to Restricted Project Column on the Unknown Object (Project) board.Jul 30 2016, 4:13 PM
jose moved this task from Restricted Project Column to Restricted Project Column on the Unknown Object (Project) board.Jul 30 2016, 4:41 PM
jose renamed this task from Map tiles design to Map tiles design, cycle routes in more countries.Jul 30 2016, 7:01 PM
francois renamed this task from Map tiles design, cycle routes in more countries to Improve maps content: Cycle routes.Aug 17 2016, 3:01 AM
francois updated the task description. (Show Details)
francois added a project: Unknown Object (Project).Sep 25 2016, 11:09 PM
francois added a comment.EditedJan 17 2017, 6:34 PM
In T143#6606, @jose wrote:

Just because their website displays their own routes doesn't necessarily mean we are allowed or even able to do the same.

I did not find on their website an API for tiles or raw data with the routes, or a download link of the raw data. Did you research? Is their routes data freely available?

jose added a project: Unknown Object (Project).Jan 18 2017, 10:26 PM
francois removed francois as the assignee of this task.Feb 26 2017, 9:01 PM

Any reason why you set edit permissions on this folder to public ? Somebody outside Bikewithme needs to add data there ? I advice against setting any folder on our Drive to public access.

jose added a comment.May 29 2017, 8:05 PM

No, no reason, I did that team could easily see in my mail what i was talking about
I remove access now.

jose moved this task from Restricted Project Column to Restricted Project Column on the Unknown Object (Project) board.Jun 2 2017, 7:41 PM

Open Street Map is a worldwide source for cycling routes. See for example this website using OSM data: https://www.opencyclemap.org/

I can convert all cycling routes from OSM and add them as an optional Mapbox overlay layer on our maps.

jose added a comment.Jul 27 2017, 2:05 PM

We already discussed it in mail (below) the main point was : what is a "cycling route"?,and if we should not start only with national roads, because if you look to Belgium in OSM it looks like this:


then you said that cycling routes on OpenStreetMap are not currently available as a separate layer. We have to download and process OpenStreetMap data ourselves. Data is free, but work is required.

//De: François Bonzon <francois@bikewm.com>
Para: jose bikewithme <jose@bikewm.com>
CC: team <team@bikewm.com>
Enviado: Viernes 26 de Mayo de 2017 14:47
Asunto: Re: Cycling Routes

That's cool, thanks. I will add a few layers once we have the data. Though, this will not scale.
Ideally, we should prefer global sources with entire world or continents, rather than many local sources. Like adding cycling routes found on OpenStreetMap. This would bring us routes for the entire world.

**It's a fundamental question: what is cycling route, a route with a cycling path? a nice route with few traffic? what is national cycling route? (attach)
At the end, it's u
p to the associations or federations (Eurovelo (ECF), Greenways...) or governmental administration to define it, not to Openstreetmap.From the 15 continental Eurovelo routes, i think 8 already are quite well defined, we "just" need to collect the data. i did this weekend a part in France of the maybe most known Eurovelo routes, the number 6. It's really velo highway, so cool. This kind of routes need to be visible in our maps asap.//

A I explained once earlier, cycling routes on OpenStreetMap are not currently available as a separate layer. We have to download and process OpenStreetMap data ourselves. Data is free, but work is required.

At the end the certification/signalization/maintenance of the routes is not made by Openstreet map, so in my opinion better look directly to the source.
That's why i went to Brussels to meet ECF.

It will be a lot of work to maintain all these local cycling routes sources. Makes the UI more complicated for users (too many options available), and the website slower (many sources to download).

I perfectly understand that every route that we upload, need to be maintain, i.e update if there are modifications.
but I see this rather like an opportunity to contact and talk about us: "We saw your route, we would like to include it our map and we would be thankful if you can send us the gpx of the route and inform us if there is any update or modification". I think it's a good way to enter in contact with this kind of institutions and talk about us.

**Also a mouseover could make appear, link to institution with the info. So for me, it would be more important to contact these organizations and have some routes displayed in our map, than if the routes
are not perfectly update etc.But if there is a better way to do it, i'm open to discussion tomorrow. thanks.
****

Bye.

On Sat, May 20, 2017 at 3:44 PM, jose bikewithme <jose@bikewm.com> wrote:
Hi,

In our Bikewithme map interface, we show the "Cycling paths" in Switzerland, defined by Schweizmobil.
For other countries, nothing is shown yet. For Europe, we already thought about showing Eurovelo routes (ECF, Bruxelles). However ECF doesn’t provide the route files, because not all the Eurovelo routes are completed and not all EU countries have the same policy about sharing this info.
So i’m collecting these info but it’s demanding.
This week i’ve been in contact (mail below, Spanish) with associations and organisations in Spain that promotes Vias Verdes (Green ways).
Vias verdes in Spain are railway paths that have been abandoned and transform in cycling paths. They are very nice regional tourism tool.
I’ve been ask if we could show the Greenways in our map. The good thing is that that their routes are available in their website (nicely done, by the way) so I have collect the 112 Greenways in Spain.
www.viasverdes.com/mapas.asp
If you would like to help in the task of collecting cycling routes, you can contribute by adding to this folder the Euroutes, Greenways or similar Cycling routes for other countries.
https://drive.google.com/ drive/folders/ 0B2478l0UIq6ATXFKVXRPeTlZV28? usp=sharing
Just as info, in Europe, Green ways are organised under:
http://www.aevv-egwa.org/trip- ideas/online-resources/

Thanks,
Best
//

OSM has a network attribute for cycling routes, with 4 possibles values:

  • icn = international route
  • ncn = national route
  • rcn = regional route
  • lcn = local route

Source: http://wiki.openstreetmap.org/wiki/Cycle_routes#Relations

On your 2 images, each value is displayed with a different color.

If you don't want to show all cycling routes that OSM provides, then we can easily exclude some for specific countries. E.g. we could say we do not include lcn in Belgium.
See: http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Conventions/Cycle_Routes
Or we say we show only icn and ncn worldwide.

jose added a comment.Jul 27 2017, 3:52 PM

so let's start with icn and ncn worldwide.

jose mentioned this in Unknown Object (Maniphest Task).Feb 2 2018, 6:57 PM
jose added a comment.Apr 4 2018, 10:11 PM

Another website that may be consider for this task,
https://www.velomap.org/

We could also try to contact them and ask them they are interested to collaborate with us

francois renamed this task from Improve maps content: Cycle routes to OpenStreetMaps cycling routes layer Draw my ride.May 10 2018, 8:19 PM
francois renamed this task from OpenStreetMaps cycling routes layer Draw my ride to OpenStreetMap cycling routes layer Draw my ride.
francois renamed this task from OpenStreetMap cycling routes layer Draw my ride to OpenStreetMap cycling routes layer on Draw my ride.
francois renamed this task from OpenStreetMap cycling routes layer on Draw my ride to Add OpenStreetMap cycling routes layer on Draw my ride.
francois added a comment.EditedMay 11 2018, 7:15 PM

I've extracted all cycling routes from OpenStreetMap, including regional and local routes. Now comes the design part. @jose Do you have an opinion how we should display this data ?

For example:

  1. Suisse Mobile

Choice to display each level (national, regional, local).
All routes same blue color on the map with a thick line.

  1. OpenCycleMap

No choice to enable or disable display of cycle routes, all levels are always displayed.
Different color for each level.
At low zoom levels, thin line with icon of cycle route number
At high zoom level, thick transparent line, with cycle route number along the line
In countries like Netherlands where intersections are numbered (not routes), icon with intersection number



How should we proceed?

  • Should offer a choice? Between what options?
  • Different colour for each level (international, national, regional, local)? What colours?
  • Should we display route number icons? Intersection (node) number icons ? At all zoom levels?
jose added a comment.May 12 2018, 10:55 AM

Great.
Some questions before considering design?

  1. Do the routes you downloaded have an attribute for info, like a website (ECF...) ? If not, could this be added by us?,

Thinking about allow to the user get information about the route by clicking on the route?

  1. Did you also get the info the it's pave or unpaved? I guess so, because this already displayed on OSM with solid and dot lines respectively.
  1. Do you know what orange are? I guess MTB but not definition in the key

First shot visible on dev:

Also on the maps for Ride details. I show international routes in blue, national in red, and other not shown. Every aspect of the cartography can be modified (labels, icons, width, colour, border, etc.) and for each zoom level separately.

  1. Do the routes you downloaded have an attribute for info, like a website (ECF...) ? If not, could this be added by us?

Yes, there is. As in general in OSM, it is unfortunately not done consistently. It could be added by us by editing OSM directly. (As a reminder, we have an OSM account in Bikewithme name. Password on Drive.)

Use the url key, as recommended here. Some OSM users also use the website key. Example for a EuroVelo route here.

Thinking about allow to the user get information about the route by clicking on the route?

This is possible too, but requires significantly more work than just displaying statically on the map tiles. It's a different and follow-up task, that can be done after.

  1. Did you also get the info the it's pave or unpaved? I guess so, because this already displayed on OSM with solid and dot lines respectively.

Yes, this could be captured. We can design cartography to look different if paved or unpaved. This adds again more work to prepare the data. It's actually more sophisticated than just paved and unpaved. There are dozen of values for the surface key, but we should categorize them into 2 buckets paved and unpaved. See the reference on OSM wiki.

  1. Do you know what orange are? I guess MTB but not definition in the key.

Yes, it's MTB. They didn't update their key. MTB routes are also possibly classified as international / national / regional / local. MTB / Bicycle is another possible additional criteria for cartography and selection in user interface.

Ideas from discussion with Jose:

  • Use single color for all 4 levels. Vary the width with level
  • Use different color for bicycle and MTB.
  • Use dashed line for unpaved road.
  • Have the layer selection menu open by default
  • Show by default first 2 levels (international and national)
  • Do not write cycle route number icons or names on the map. Makes the map too complicated. Instead, make routes clickable to bring this information.
  • Add green ways in Spain. See GPX files on Drive.
  • Add "green bike" icon for start point of green ways.
francois shifted this object from the Restricted Space space to the S6 Public space.May 21 2018, 5:51 AM
francois changed the visibility from "All Users" to "Public (No Login Required)".
francois renamed this task from Add OpenStreetMap cycling routes layer on Draw my ride to Add OpenStreetMap cycle routes layer on Draw my ride.May 21 2018, 11:34 PM
jose added a comment.EditedMay 30 2018, 3:05 PM

Maybe the following must be consider as separate task:

I observed in the Komoot that the passes are highlighted. I think this can be very useful.

I was wondering if we could do the same after understanding the pass definition (elevation difference, km ...) and the deciding what are relevant.