How to 3D print a mountain or terrain from map data

Type the coordinates of a place into the terrain to STL tool, or add a GPX route, set the size, and download a solid, flat-bottomed STL that prints without supports.

To 3D print terrain from map data, open terrain to STL, type the latitude and longitude of the centre of your area, set the side of the square in kilometres and press Load this terrain. The tool fetches open elevation data for that square, builds a solid block with a flat base and shows its scale. Set the width and the height exaggeration, then press Download STL.

What you need

  • The coordinates of the place as decimal degrees, for example 45.9766, 7.6585. In Google Maps on a computer, right-click the spot and click the coordinates at the top of the menu to copy them.
  • An internet connection: the elevation tiles are fetched from a public Amazon server (s3.amazonaws.com) when you press the button. The place is the only thing sent.
  • Free use covers 2 downloads a day.

Steps

  1. Open terrain to STL. Choose one of the ten Well-known places (Matterhorn, Mount Fuji, Grand Canyon and others), or type into Latitude, longitude. A maps link that contains @lat,lon works too. Place names are not searched.
  2. Set Area, side of the square, from 1 to 400 km, and press Load this terrain.
  3. Under Model, set Width, Base and Height exaggeration.
  4. Read the line under the buttons. For the Matterhorn preset it says: "100 × 100 × 46.7 mm, scale 1:80,000. Ground from 1,966 m to 4,351 m, heights drawn 1.5× taller."
  5. Press Download STL or Download 3MF. Copy a link to these settings saves the place and the settings as a link.

With a GPX route

Press Add a GPX route on the terrain page, or drop the file on GPX to 3D print. GPX, KML and GeoJSON lines are read in the browser. The area then follows the route instead of the coordinates: the route's outline plus a margin (10 % by default), either fitted to the route or square. The route is a raised band on the ground at the same exaggeration, 1.6 mm wide and 1.2 mm high by default, and a plate along the front edge carries the route's name, its distance and its climb. The climb comes from the file's elevations, ignoring changes under 3 m; a file without elevations takes them from the terrain data.

Download STL and Download 3MF save terrain, route and plate as one solid. Download two-colour 3MF keeps the route and the plate text as a second part of the same object, so the slicer can give it another filament; that file is part of Pro.

Settings

SettingDefaultNotes
Area, side of the square8 km1 to 400 km; presets set their own
Width (longer side)100 mm20 to 400 mm; square without a route, fitted to a route otherwise
Base2 mmThickness under the lowest point of the area
Height exaggeration1.5×0.5 to 10×; 1 is true scale
DetailNormal (260 × 260)Height samples per side. Draft is 160, Fine 400
Flat sea (ignore the sea floor)OnEverything below 0 m is drawn at 0 m
Height at the baseLowest point of this areaFixed elevation: the elevation you type is drawn at the base, for tiles that line up
Margin around it (route)10 %0 to 100 % of the route's longer side, at least 0.2 km
Route width / Route height1.6 / 1.2 mm0.6 to 8 mm wide, 0.4 to 6 mm above the ground
Text plate in frontOn, 18 mm deep10 to 60 mm; the text is raised by the route height (at least 0.6 mm)

Scale and exaggeration

The scale is the real side divided by the model width: 8 km on 100 mm is 8,000,000 ÷ 100 = 1:80,000. Heights use the same scale, times the exaggeration. The Matterhorn area spans 2,385 m from lowest to highest point, which is 29.8 mm at 1:80,000 and 44.7 mm at 1.5×; add the 2 mm base and you get the 46.7 mm the tool reports.

Large areas go flat quickly. Mount Fuji with a 24 km side is 1:240,000, and its 3,555 m of relief is 14.8 mm at true scale. As a starting point, keep 1 to 1.5× for steep mountains and try 2 to 3× for hills and coasts, then judge by the preview. If the heights differ by less than 2 m the tool says the area is almost flat.

Where the heights come from, and how detailed they are

The data set is Terrain Tiles, managed by Mapzen and hosted in the AWS Open Data registry, which describes it as "a global dataset providing bare-earth terrain heights". Bare earth means no buildings and no trees. According to its documentation it is a mix of sources:

  • Most land: SRTM, 30 m (90 m nominal quality), except at high latitudes.
  • Most of Europe: EU-DEM at 30 m.
  • USA: 3DEP at 10 m outside Alaska.
  • Finer national data: 2 m over most of the United Kingdom, 10 m over Austria and Norway, 8 m over New Zealand.
  • Sea floor: ETOPO1 at 1 arc-minute, which is about 1.8 km.

So a 2 km square over 30 m data has under 70 real height samples per side and looks smooth however fine the grid is. The tool also stops at tile zoom 14, about 10 m per pixel at the equator and 7 m at 45° latitude.

Printing a terrain model

  • Flat on the bed, no supports. The model is one solid with a flat bottom and no overhangs.
  • Layers become contour lines. A 46.7 mm model has about 230 layers at 0.2 mm and about 390 at 0.12 mm. Use 0.12 to 0.16 mm for small models and 0.2 mm for large ones.
  • Infill. 10 to 15 % with three or more top layers is a workable starting point.
  • Bigger than the bed? Make one model at up to 400 mm and cut it into tiles: see how to split a large STL or go straight to cut STL.
  • Separate tiles that line up. By default every download puts the lowest point of its own area on the base, so neighbouring squares made separately sit at different heights. Set Height at the base to Fixed elevation, type an elevation at or below the lowest ground of all the tiles, and keep the area, width and exaggeration the same for each tile. The same ground height then prints at the same height on every tile. Ground below the fixed elevation is drawn flat at the base, and the note under the buttons gives its share of the area.
  • File size. Fine detail gave a 16.2 MB STL in our test and a 2.8 MB 3MF of the same mesh.

Troubleshooting

ProblemCauseFix
"Type the place as latitude, longitude…"A place name, or degrees with minutes and seconds, was typedUse decimal degrees: 36.0998, -112.1125
The model looks flatTrue scale: a large area makes heights tinyReduce the area or raise Height exaggeration
Smooth, blurry surfaceThe area is small compared with 30 m dataUse a larger area; Fine detail cannot add data
A valley or basin is a flat planeIt lies below sea level and Flat sea is onUntick Flat sea
"The elevation data could not be fetched."The Amazon server that holds the tiles is blocked or offlineAllow it in your network filter, then press the button again
Latitude errorThe tiles use the Web Mercator projection, which stops near 85°Choose a place between −85 and 85

What the tool cannot do

  • Buildings, trees, roads, rivers, map labels. Only ground heights, plus your own route and plate text. A city model needs separate building data, which this tool does not load.
  • Other outlines. The area is a square, or a rectangle fitted to a route: no circles, hexagons or country borders.
  • Survey accuracy. The model is for display, not for navigation or measuring.
  • Your own height map. If you already have a greyscale height image, image to STL turns it into a relief.

FAQ

Where does the elevation data come from?

From the open Terrain Tiles data set on AWS, managed by Mapzen. It combines SRTM, EU-DEM, the US 3DEP, ETOPO1 and several national surveys.

May I sell prints of the terrain?

The sources are public or openly licensed, and many ask for attribution. The data set's attribution page lists the wording per source, for example "SRTM data courtesy of the U.S. Geological Survey", and says you are responsible for following each licence. Credit Mapzen Terrain Tiles and the sources for your area.

What height exaggeration should I use?

1× is true scale. Steep mountains read well at 1 to 1.5×; hills and coastlines usually need 2 to 3×. These are starting points: check the preview.

Can I put my hike or bike ride on the model?

Yes. Add the route as a GPX, KML or GeoJSON file. The track is raised on the terrain at the same exaggeration, and the plate shows its name, distance and climb.

How do I print neighbouring squares that fit together?

Choose Fixed elevation under Height at the base and use the same elevation, area, width and exaggeration for every square.

Can I print my town with its buildings?

You get the ground under it, without buildings or trees, because the data is bare earth.