Trailforks Overlay

Jan Weigand shared this idea 1 year ago
Collecting votes

Trailforks gets better every Month and a Map Overlay for Locus would be splendid.


http://www.trailforks.com/about/api


The Api is alive and no big deal for you guys I guess.


User Interface. Suggestion


Checkbox -> Show Trailforks Trails as Overlay.

  • Show Double Black Diamond Trails
  • Show Black Diamon Trails
  • ...
  • Show Access Road

  • optional show only trails with recent ridelogs (lets you decide if the trail is maintainanced or the data is to old to bother)
  • optional show only trails with rating higher than xy


kind regards

Comments (2)

photo
1

Workaround to get some Trailforks trails in a previous known area in a nice way displayed in locus maps:

1) Identify the coordinates of the area you are interested in. the area will be an rectangle. Look for the upper left and lower right corrdinate.

-> assume the coordinates are 43.034,10.453 and 42.429,11.034

2) put both coordinates comma separated in a list: "43.034,10.453,42.429,11.034"

3) use trailforks api to get data: https://www.trailforks.com/api/1/maptrails?output=kml&filter=bbox::43.034,10.453,42.429,11.034&api_key=docs

4) result will be a json. copy everything inside "data" - without sourrunding quotes! - into a .kml file.

5) correct escaping: replace \n with a correct line break. Replace \" with "

6) save in Locus\mapItems

Disclaimer: please respect usage conditions of the trailforks api!

photo
1

Sure... you can also use the Locus "Favorites" feature to automate about half of that monster shebang. Unfortunately, its development stopped just an hour short of being really finished... so it doesn't seem to be possible to display the result in Locus directly... at least I failed trying to jump through a dozen hoops :).

Shame... it would be so easy with a little more help from Locus...