Posts Tagged ‘gpx’


In this post I examine different options I have found in posting cycle routes on a free wordpress.com blog.

For my upcoming cycle adventure I want to track my trip, and post the route on my blog. I use a wordpress.com free blog. As many have noted in various forums, most iframe and flash elements are blocked due to security concerns on wordpress.com, which means it is quite difficult to post a freshly tracked route on your blog – especially when the post is created from the WordPress smartphone app.

In the past I have tracked my route with the EveryTrail smartphone app, and embedded the track on the wordpress.com blog using a flash workaround. This map often takes a long time to load, and is not visible at all when viewed from a smart phone. Much preferable would be an iframe element like on the TwistingSpokes blog. (Martin and Susanne from TwistingSpokes say they use a wordpress.org blog with a google maps gpx viewer plugin. WordPress.com does not allow plugins.) This loads quickly, and is also viewable on a smart phone.

It is possible to use iframe directly with google maps on wordpress.com, and so, if you can import your tracked trip into google maps, you can then post it on the blog. This can be done in several steps (which cannot be done on a smart phone).

  • Save the recorded gpx file. (Using EveryTrail, the download gpx file option is in the bottom right of the screen.)
  • Convert the gpx file into a kml file with GPS Visualizer. Save the converted kml file.
  • Open google maps in the classical interface. Go to My Places  and click on Create with Classic MyMaps.
  • Click on import and then load the kml file just created.
  • Click on the link button and then copy the iframe text. Post this in the wordpress.com post.

Below is the EveryTrail flash version of the map, and the iframe version described in this post.

For my blog, I intend to use the iframe version when I have more time and access to wifi.


Planning (at least the first draft of) the exact cycle route is an important part of the overall planning of a long distance cycle trip. Just ‘following your nose’ leads you to main, busy roads. Insider secrets remain secrets.

In the summer of 2013 I intend to cycle from where I live in Eindhoven, the Netherlands, to the North Cape, via the Baltic Countries. I have put together a planned route which is made up of documented biking routes, collected from a range of different sources. I have collected this route in gpx format which can be viewed on my iPhone.

Here, I would like to list the biking route sources, and how to concatenate such routes to the ‘mother plan’ route.

Sources of the cycle route

Netherlands

The Netherlands has a great infrastructure for cycling. There is a dense network of signed bike paths that connect numbered ‘nodes’ throughout the country. Each node is between 1 and 10 km apart, and from each node, there are signposted routes to each of the neighbouring nodes. There is a bike route planning website which calculates suggested routes between any nodes that you specify. I used this to calculate a route from my house to the start of the German section of the R1 bike path which I will follow most of the way to Tallinn in Estonia.

Germany

I generated the route crossing Germany using the cool bike route planner Naviki. Many thanks to Oskar from the Polish cycling forum for his tips for Mecklenburg Vorpommern.

This route replaced my original route following the R1 bike path
– a long distance bike path from Bolougne in France to St. Petersburg in Russia. The German leg of this bike path (along with a huge number of cycle paths across Europe) is available in gpx format on the Lonvia ‘bike overlay’ to the OpenStreetMap open source map project. Simply scroll to the area of interest and click on ‘Routen’ to see a list of the paths displayed on the map. A gpx file can be downloaded for each of these maps.

Poland, Kalingrad, Lithuania

In Poland I will follow the EuroVelo 10 bike path. I found the route for this on bikemap.net. Many thanks to Pawel and the people on the Polish cycling forum for helping me out here.

After following the coast to Gdansk, I will make my way to the R1 cycle route which can be downloaded from the Lonvia bike overlay as described in the German section. The Polish section is not completely covered, though. I used the gpx files which are from Detlef Kaden. This book/CD combination is excellent, giving route information, as well as info on things to see, accommodation, and visa information for the Kalingrad Russian enclave.

Latvia

For Latvia, I used a combination of gpx files from Detlef Kaden (see Poland section), as well as cycling routes from the Lonvia OpenStreetMap overlay (see the German section). See the section below on how the information from these two sources was concatenated.

Estonia

For Estonia, I used routes from the Lonvia OpenStreetMap overlay (see the German section).

Finland

Eurovelo is a planned network of long distance cycle paths crossing from one side of Europe to the other. There are 14 planned routes, which are shown here. The routes are in different levels of completion. For most routes, there is no information available at all. For the Finnish sections, there is detailed information given in the form of google maps. I downloaded these routes and converted them into gpx to add to my overall route. (I describe this conversion below.)

Sweden

The Swedish leg is part of the ‘Cykelspåret längs ostkusten’. The gpx files for this can be downloaded here. These gpx files outline a path up the coast. When the coast is left at the top of the Baltic sea, there as so few roads, I figured that no special attention needs to be paid to look for small cycling roads. I used google maps to create the paths from here up to the Norwegian border. (Converting google maps to gpx is described below.)

Norway

In Norway I will follow the ‘Sun route’ as described in the Lonvia overlay for OpenStreetMap (see German section).

Converting and merging gpx files

When cycling, I use EveryTrail to track my trip, as well as to follow the planned route. EveryTrail uses gpx files.

To create the ‘mother’ route, stored in gpx file format, I concatenated individual gpx files. This concatenation is described here.

Here is an instruction video of how to convert google maps (kml) files to gpx file.

Sometimes I only wanted a piece of the path contained in a gpx file. I did the editing by hand, joining two gpx files at the correct place by matching the latitude and longitude coordinates to find where the paths cross.