osmlab / editor-layer-index

A unified layer index for OSM editors.
https://osmlab.github.io/editor-layer-index/
Other
215 stars 251 forks source link

Add Strava heatmaps? #294

Open bagage opened 7 years ago

bagage commented 7 years ago

I didn't see any reference to strava heatmap imageries on this repository; my apologies if I am wrong about it but I believe it would fit the place. I don't know if all three TMS should be added or only once (and in that case, which? both might be the best suited in that case).

Note: maxzoom seems to be 17. (on higher zoom tiles are blank).

URL of the imagery

There are actually 3 (cycling only, running only or both):

  1. http://globalheat.strava.com/tiles/cycling/color2/{zoom}/{x}/{y}.png
  2. http://globalheat.strava.com/tiles/running/color2/{zoom}/{x}/{y}.png
  3. http://globalheat.strava.com/tiles/both/color2/{zoom}/{x}/{y}.png

Two letter country code

World.

Desired layer name

  1. Strava cycling heatmap
  2. Strava running heatmap
  3. Strava heatmap

License

© Strava

Is the license compatible with OSM?

Yes. Strava allows usage for tracing in OSM.

Attribution (text, URL, required?)

Not one I am aware of.

Icon

strava logo

Boundary polygon

It's worldwide - is it necessary then?

bhousel commented 7 years ago

Is the license compatible with OSM?

Yes. Strava allows usage for tracing in OSM.

I'd need to see a link to the actual license before I'm comfortable adding this. In the past when we've been requested to add this, Strava has said that they only wanted the heatmap to be used for tracing on their site.

bagage commented 7 years ago

Thanks @bhousel. I indeed did not check myself but copied the wiki -- I'll contact them and update the wiki as well then, because if we are actually not allowed to use it outside of strava (limited) editor, it would be interesting to know! Will update the issue when I get an answer.

talllguy commented 7 years ago

I found this entry on the wiki by way of this Mapbox Mapping task.

Klumbumbus commented 7 years ago

see also https://twitter.com/paulmach/status/455182880306905088

talllguy commented 7 years ago

@Klumbumbus nice find. That wiki section was added by Dr. @paulmach who was a Strava employee at the time.

talllguy commented 7 years ago

image

talllguy commented 7 years ago

I still prefer Slide to using the imagery.

nyeates commented 7 years ago

Strava could increase their brand recognition and realize better quality maps if this were permitted.

In going to Strava to ask for this, be business-strategic here - why will it help their business?

I think maybe they fear losing traffic or trackability because edits would move outside of their domain. What they may not realize is that in its current form, usage is going to fizzle to near zero when it could be growing exponentially. With allowing OSM editors to utilize their rasterized data, Strava Inc. gains brand-recognition, better maps, and a growing brand-recognition to new mapping fanatics.

nyeates commented 7 years ago

Before I had seen this issue and other similar requests, I started thinking of solving it from another perspective:

Updating Strava's iD/slide fork

The above convo with @paulmach gives some technical beginnings of going about doing this - I have yet to head down that road. My above link/solution is inferior to including it in upstream editors and I just want to add it here as an additional data source.

Klumbumbus commented 7 years ago

It seems the strava heatmap tiles are broken atm. See https://help.openstreetmap.org/questions/55267 https://josm.openstreetmap.de/ticket/14582

tyrasd commented 7 years ago

It seems the strava heatmap tiles are broken atm.

They seem to work again now (testing https://globalheat.strava.com/tiles/both/color4/{zoom}/{x}/{y}.png).

talllguy commented 7 years ago

Interesting. It is not working in slide, that might be what the help OSM post is about.

nyeates commented 7 years ago

@tyrasd tile URL doesn't work for me; is it still working for you?

Their global heat map website works - maybe doesn't use the same tile server. Seems to me like maybe something broke their tile server and it hasn't been paid attention.

tyrasd commented 7 years ago

Yes, it still works for me. In osm.org's iD, but also on strava's iD and slide demo page. AFAICS, you need to send a HTTP Referrer header, otherwise the tile server answers with a HTTP/400 Bad Request error (this seems not to be the case anymore).

//edit: see also https://github.com/strava/iD/issues/13#issuecomment-290588951

pangoSE commented 4 years ago

We got permission to continue tracing from Strava

Good news for OSM! https://wiki.openstreetmap.org/wiki/Permissions/Strava

Also the Strava fork of iD might still be working. See http://strava.github.io/iD/#background=Bing&map=17.00/-110.02947/53.27094

Hooray 😃

Cheers pangoSE

NKAmapper commented 4 years ago

Perhaps this service may be used to get Strava tiles down to zoom 16: https://github.com/nnngrach/strava_auto_auth

I guess it would require permission from @nnngrach.