GPX file has no elevation? You can still 3D print it

A GPX with no elevation still makes a full 3D printed terrain map in TrailMark3D, because the terrain comes from elevation data, not from your file. Here's what goes missing, how to check a GPX, and how to add the elevations.

By Carlo ·

In short

A GPX without elevations works in TrailMark3D: the terrain and the height of the trail come from elevation data, and the GPX only gives the route's position, so the model is the same. What you lose are the Elev. Gain and Max Elev. figures and the Center on highest point button. To check a file, look for ele tags in it. To add elevations, draw the route again in gpx.studio, which adds them, or export the recorded activity rather than a planned route. Making the model is free.

A GPX file is a list of points. Each point has a latitude and a longitude, and usually an elevation, but not always: routes drawn in some planners, some exports of planned routes and files passed through a converter often leave the elevation out. Some 3D print tools build the model from the GPX's own elevations and can't use a file like that. TrailMark3D doesn't need them. This guide uses the hike from El Chaltén to Laguna de los Tres in Argentine Patagonia.

Open Trail Settings on the sample trail

Check whether your GPX has elevations

Open the GPX in a text editor and look at a point. With elevation, it reads like <trkpt lat="-49.33" lon="-72.89"><ele>404.2</ele></trkpt>; without, there is no <ele> line. A planned route can also use <rtept> points instead of <trkpt>, and TrailMark3D reads those too. In the workspace, a file with no elevations shows the Distance but no Elev. Gain or Max Elev., and Center on highest point in the center picker is greyed out.

Make the model anyway

Upload the GPX on the TrailMark3D home page as usual and click Generate 3D Model. The terrain is built from elevation data for the whole area, and the trail is laid on that terrain, so the GPX only says where the route goes. The model, the trail and the print are the same as with a GPX that has elevations. Only the climbing figures are missing, and the text on a frame is yours to type in any case.

The TrailMark3D workspace with the Laguna de los Tres route on the map, ready to generate
The route in the TrailMark3D workspace

Open Trail Settings

Add elevations by drawing the route in gpx.studio

For the climbing figures, draw the route again in gpx.studio, a free route planner in the browser. Open your file to see its line, then trace it with the routing tool: the new route follows the trails and comes with elevations, as the profile under the map shows. Export it as a GPX. The steps, with screenshots, are in make a GPX route with gpx.studio.

gpx.studio with the route from El Chaltén to Laguna de los Tres drawn along the trail and its elevation profile below, 10.9 km and 906 m of climbing
A route drawn in gpx.studio, with elevations and the profile below

Or export the recorded activity

A route you planned may have no elevations, while the activity you recorded on a watch or a phone usually has them. If you walked or rode the route, export the activity from Strava, Garmin Connect or Komoot rather than the planned route. See how to export a GPX from Strava, Garmin or Komoot.

Upload the new file and check the figures

Upload the new GPX. The Elev. Gain and Max Elev. figures appear over the map, and Center on highest point works again, so you can center the tile on the summit or the lake.

Frequently asked questions

Is it free?

Yes. Uploading a GPX, with or without elevations, and generating and downloading the STL or 3MF are free with an account, up to 5 models a day and areas up to 200 km across. gpx.studio is free too. See pricing.

Will a GPX without elevation make a flat model?

No. TrailMark3D takes the terrain's height from elevation data for the area, not from the GPX, so the mountains and valleys are the same with or without elevations in the file.

Why is my elevation gain different from Strava's?

TrailMark3D adds up the climbs between the points in your file. Apps such as Strava can correct or smooth a recording's elevations, so their total is often a little different.

Does a GPX with only route points work?

Yes. A file with <rtept> points and no track, as some planners export, opens like any other GPX.

Convert GPX to STL or 3MF