Downloading routes from RouteLabo (Yahoo LatLongLab)

Most of the brevets I ride are with AJ NishiTokyo, a randonneuring club based in the Machida/Sagamihara area. One thing I like about their rides is that they provide a link to a RouteLabo page for each event (RouteLabo is an online map service run by Yahoo Japan). This page shows a map of the course as well as download links for KML, GPX and TCX files of the course. By copying these files to your GPS device (Garmin or other) or by uploading a KML file to Google “My Maps” for your smartphone, you can almost completely do away with the need for paper cue sheets. I navigate all my brevets and many of my personal rides by following a “breadcrumb trail” on the screen of my GPS unit.

Unfortunately other clubs often only provide a map without any download option, like this Randonneurs Tokyo 2018 BRM421 Tokyo 600 Lake Hamana (BRM421東京600浜名湖鰻) page:

This does not help you much on the road. Without a link to the full RouteLabo page with download links, there’s no obvious way to obtain a GPX or KML file. You are still expected to navigate via printed turn instruction on a paper cue sheet, which I find cumbersome and error-prone.

However, there is a way!

The web page uses some Javascript code to display the map off the RouteLabo website, including a magic value that identifies the particular course to be shown. To see this value, view the source code of the page. This step varies by browser and operating system. On Chrome under MS Windows, Ctrl+U will show the source code, on a Mac under Chrome, Option+Command+U will do it. On Safari, once you enable the option via Safari > Preferences > Advanced > Show Develop Menu, you can also use Option+Command+U (just like in Chrome).

In the displayed HTML code, search until you find a line for Javascript like this one:

<script type="text/javascript" encoding="UTF-8" src="https://latlonglab.yahoo.co.jp/route/paste?
id=b86f940851b6ebed2538ffc5f80b2fc8&width=480&
height=640&mapstyle=map&graph=true&maponly=true"></script>

The value consisting of 32 hexadecimal characters (128 bit) after “id=” is the magic value you’re looking for. A full RouteLabo page URI with the download options will look like this:

https://latlonglab.yahoo.co.jp/route/watch?id=b86f940851b6ebed2538ffc5f80b2fc8

By replacing the value after “id=” in the URI with the ID from inside the HTML code using copy and paste, you will get a browser URI that will give you full access to the route, including route file download links to feed your GPS device of choice. You can then bookmark it for future reference. Bonne route! 🙂

0 thoughts on “Downloading routes from RouteLabo (Yahoo LatLongLab)

  1. любого человека в жизни могут сложиться серьезные финансовые разрывы, которые можно преодолеть только с помощью серьезных финансовых вливаний. Читайте об этом подробнее на сайте gdefile.ru

  2. Так хочется быть кому-то нужной, чувствовать, что хоть одна душа в данный момент думает о тебе. Но вокруг пустота, ты сидишь у окна и серый день съедает тебя изнутри, подробнее об этом читайте на сайте ladysarafan.ru

Leave a Reply

Your email address will not be published. Required fields are marked *