Your GPS-Tracks in 3D

Topography is what makes Skiing, Hiking, Trailrunning and Mountainbiking so exciting.

You conquer those Vertical Distances with a lot of sweat and effort, but your Tracking Software only shows a boring 2D Map.

That's where CubeTrek comes in.

See Examples Upload your own Track Receive News


Mattjisch Horn
  • Ski Mountaineering

Upload and View your GPS-Track

Click here or drag your file into this Box.
Accepted file types: GPX and FIT.

Privacy Disclaimer Although the upload occurs anonymously (meaning no IP or email addresses are saved and correlated to your upload, no ads and trackers are used), the GPS Track itself can contain data that might be sensitive (It shows when and where you have been, naturally).
All uploaded tracks will be publicly visible.
Experimental The whole thing is still very experimental and might blow up any minute.
No guarantees on accuracy, no guarantees on how long the uploaded tracks will be available via the link.
But if you encounter any problems, please tell me via email (include your GPS Track if possible).
Current Limitations Only FIT and GPX files are supported (e.g. no TCX files) with the correct file suffix.
Only activities that cover an area which is smaller than 100km x 100km (62x62 miles in medieval units).
Max. file size is 10 MB (that's more than it sounds)
The Track must contain time data.
Elevation data is automatically added if not present (yes, that's actually not a limitation).

Get News

Your address will not be shared.

CubeTrek's still in an experimental stage.
The Vision is to become the home for all your Mountain related GPS Tracks.

To receive updates, sign up for the mailing list. Or get in touch via Email.

For the technically inclined people, here's a short summary of the underlying tech stack used by CubeTrek.

The Back End is constructed with Java and Spring Boot backed with Postgresql (and Postgis), the Front End is based on Bootstrap. Good old plain JavaScript is used for interaction with the server.

The actual 3D magic is performed by the awesome Babylon.js library (check it out, if you've never heard of it), the graph is handled by D3.js (very versatile, but a steep learning curve), the 2D map is rendered with MapLibre GL JS (which is very straightforward to use in this particular case).

So here's what happens when you upload a FIT or GPX file: the server reads the tracks, downsamples them to a reasonable resolution and calculates some descriptive values (such as the geographical bounding box, distance, time, etc.).
The elevation data is cross-checked with the elevation model on the server. This is done to check if the device's height sensors were propely calibrated and a simple correction is applied if necessary. If elevation data is completely absent in the file (because the recording device doesn't have a height sensor) the elevation data is interpolated completely from the model.
The elevation model consists of HGT files retrieved from the NASA SRTM dataset.

To guess the activity name, we take the highest point in the track data (making the assumption that this is the most prominent point of the whole activity, e.g. the summit). This is cross-checked against a peak database on the server. The data comes from OpenStreetMap and contains all OSM features annotated as 'Peak', and contains >520k entries.
If there's no peak in the vicinity, a reverse geocoding request is sent to Maptiler.

Once all the data is gathered, it's stored in a PostGIS extended PostgreSQL database and the activity is ready be to put on the spotlight.

When you view the activity in the 3D viewer: the server provides two key files for each activity. An extended GeoJSON file, describing the track latitude/longitude data, time, and elevation data. A gLTF file which contains the 3D Model of the topography. Babylon.js is used to display the gLTF file and loads the texture (map tiles) from Maptiler.
A custom script than draws the track on top of the texture of the 3D model.
The script also handles the D3.js graph data conversion from the GeoJSON file, the mouse interaction etc.
The 2D map is very straightforward: just show the GeoJSON data in a MapLibre map (again using Maptiler as source for the map data).