... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strava Heatmap over regular or satellite map
#1
Hello,

I was successful to put Strava Heatmap Cycling as a map on RouteConverter Online edition, by adding these following lines on {user}/.routeconverter/tileservers/default.xml:

<tileServer id="Strava Heatmap Cycling" name="Strava Heatmap Cycling Blue/Red" minZoom="1" maxZoom="17" copyright="Strava">
    "http://globalheat.strava.com/tiles/cycling/color1/" + zoom + "/" + coordinates.x + "/" + coordinates.y + ".png"
</tileServer>

But I want this map as a "layer" over Google's regular map, or Google's Satellite map. Is there a way to do this?

Thank you in advance,

Paulo


Attached Files Thumbnail(s)
   
Reply
#2
(20.05.2017, 13:53)pcenachi Wrote: But I want this map as a "layer" over Google's regular map, or Google's Satellite map. Is there a way to do this?

Dear Paulo,

you'd need to program to achieve this. Add your overlay to routeconverter.html like I did it for the OSM Hike and Hike Symbols maps.
--
Christian
Reply
#3
(21.05.2017, 09:04)routeconverter Wrote: you'd need to program to achieve this. Add your overlay to routeconverter.html like I did it for the OSM Hike and Hike Symbols maps.

Dear Christian,

Thank you for the reply. I'm not a programmer, but I found the file slash\navigation\mapview\browser\routeconverter.html inside RouteConverterWindows.exe (or RouteConverterPreReleaseWindows.jar) using 7-zip, and understood the 'overlays' of Hillshading and Lonvia's hiking routes you created using vars and calling them depending on the Map Id.

I made the modifications on this file, but when I update it inside RouteConverterWindows.exe using 7-zip (or RouteConverterPreReleaseWindows.jar using JDK's "jar uf" command) and run to test if works, I get a blank map screen as attached and the following line on RouteConverter.log:

SEVERE: Cannot load web page: java.lang.SecurityException: SHA-256 digest error for slash/navigation/mapview/browser/routeconverter.html

Read something about re-sign the jar to correct this error. Can you please help me to update the .exe or the .jar file with the new routeconverter.html file?

By the way, this is by far the best map/route program I could find, thank you for the excellent work.

Paulo


Attached Files Thumbnail(s)
   
Reply
#4
(22.05.2017, 03:00)pcenachi Wrote: I get a blank map screen as attached and the following line on RouteConverter.log:

SEVERE: Cannot load web page: java.lang.SecurityException: SHA-256 digest error for slash/navigation/mapview/browser/routeconverter.html

RouteConverter is signed to help find unwanted modifications.

(22.05.2017, 03:00)pcenachi Wrote: Read something about re-sign the jar to correct this error. Can you please help me to update the .exe or the .jar file with the new routeconverter.html file?

I need your changes and could provide a new JAR/EXE. But it's better you do the changes, test them und send me a pull request on github.

(22.05.2017, 03:00)pcenachi Wrote: By the way, this is by far the best map/route program I could find, thank you for the excellent work.

Thank you very much.
--
Christian
Reply
#5
(22.05.2017, 16:52)routeconverter Wrote: I need your changes and could provide a new JAR/EXE. But it's better you do the changes, test them und send me a pull request on github.

Ok, pull request created:

https://github.com/cpesch/RouteConverter/pull/51

Since google's "Map" and "Satellite" maps are not listed on tileservers/default.xml, I used OSM Cycle as background map to the new overlays (I haven't found a way to use the first ones).
Reply
#6
Thank you very much for your Pull Request.

I've created a new prerelease that shows the Strava Overlays - does it work for you?
--
Christian
Reply
#7
(27.05.2017, 10:15)routeconverter Wrote: I've created a new prerelease that shows the Strava Overlays - does it work for you?

Worked perfectly, thank you very much for including this.

Paulo
Reply
#8
Dear Paulo,

now that Thunderforest has restricted access to the OpenCycleMap (see https://forum.routeconverter.com/thread-2416.html): what would be a good alternative to put the Strava Overlays on?
--
Christian
Reply
#9
(07.09.2017, 08:53)routeconverter Wrote: Dear Paulo,

now that Thunderforest has restricted access to the OpenCycleMap (see https://forum.routeconverter.com/thread-2416.html): what would be a good alternative to put the Strava Overlays on?

Hi Christian,

That's bad news, but we have some alternatives. Here in Brazil a good TOPO/streets maps to use as background is ESRI TOPO:

"https://"services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{$z}/{$y}/{$x}
Minzoom: 1
Maxzoom: 19

Another good map to use as background is Google Hybrid (sat + streets):

"http://"mt{$s}.google.com/vt/lyrs=s,m&hl=iw&x={$x}&y={$y}&z={$z}
Minzoom: 0
Maxzoom: 15
Servers: 0,1,2,3

They are some maps I use as background on OruxMaps Android App while Im cycling, and they shall work OK in RouteConverter.

If I can help in another way, please let me know.

Paulo
Reply
#10
Dear Paulo,

thank you for the information. I've now added Esri Topo with the Strava Overlays.
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)