Introduction: Make 3d Printed Topo Maps of Anywhere

Picture of Make 3d Printed Topo Maps of Anywhere

When I was a kid I was dragged through more National Park visitor centers than I can remember. For me the highlight was the always the miniature model of whatever park it was. By exploring that model you could experience the landscape as if you are a bird (or Superman) and able to fly around. Standing in Yosemite valley looking up at Half Dome is amazing, but you only see it from one angle. The 3d model in the visitor center reveals so much more.

When I got into 3d printing one of the first "killer apps" I discovered was printing 3d maps. Everyone asks me what a 3d printer is good for. Well here is a great use. With a little time and some free or inexpensive software you can make your own 3d model just like the cool one in the visitor center. What's more you can make such a model of anywhere in the world. And depending on the data available you can sometimes make a model much more accurate than the one in the visitor center. For instance my model of Yosemite valley is so accurate that you can see individual trees.

You aren't limited to anywhere in this world, with a little digging you can find data for the Moon and Mars as well.

Step 1: How Does This Work?

If you want to see an exact step by step walk through of this process you can watch either of my two videos linked above.

I made my first 3d terrain models following the instructions given by Gregor Luetolf. His techniques work well and I still use some of the same software, but I have made some improvements which I will detail here.

The basic process is as follows:

1 Get digital elevation data for the area you wish to model. You will typically download that data as a GeoTiff file.

2 If necessary, crop the section of interest from the larger dataset.

3 Convert that data to a DEM file.

4 Make a 3d model based on the data.

5 Print and enjoy.

Step 2: Get Your Data: OpenTopo

Picture of Get Your Data: OpenTopo

There are many places online you can get DEM or digital elevation model data from and as you look around you may discover more. The best and easiest to use one which I have found is http://opentopo.sdsc.edu/. It has a really easy to use interface which allows you to crop the section you want and download just that chunk. It also has really good tools for thinning the data before you download which is great because it has some datasets of unbelievable size and it is much nicer to crunch through them on a super computer rather than melting your laptop. Opentopo has a huge collection of LIDAR datasets which record the surface of the earth in such detail that you can sometimes see individual trees and cars. While some LIDAR data may have data points every foot the coverage is very limited. In 2000 the Space Shuttle flew a mission called the SRTM or Shuttle Radar Topography Mission where they surveyed almost all the land areas of the planet. You can download this data from anywhere in the world but it is at a relatively low resolution of 1 data point every 100 feet or so. It is great for mountains, but you can't see smaller features very clearly.

Using their web tools select the area you want and download it as a GeoTIFF file. Depending on the dataset you are using you may have a option to set the grid resolution. This determines how detailed your model will be. You will need to play around some to determine how much data your comparatively puny little computer can handle. Start with their default setting and play from there.

Since this file is produced by a massive Unix supercomputer it comes zipped up as a .tar.gz file (sometime known as a tarball). This is just the Unix version of a .zip file. It isn't hard to unpack, but you may need a tool like 7zip for windows.

Step 3: Get Your Data:The National Map

Picture of Get Your Data:The National Map

If you are looking to model an area where you can't find data on openTopo you could check The National Map. It is another good source of DEM data (at least for the US). The interface is easy to use and you can select from elevation models at various different resolutions. The problem is that it doesn't crop the data for you, you need to download the files and open them in QGIS to crop them and extract the data. You may also have to merge different tiles of data and then crop them. This is possible with QGIS but it is a royal pain. But the National Map gives you access to datasets which you can't get on OpenTopo so it is worth knowing about.

A note for our international friends: Both of these sites are sponsored or funded by the US government and as such they concentrate mostly on data from the US. OpenTopo has the SRTM project data which is worldwide, but the more detailed datasets are all from the US. I don't know if these websites can be accessed from outside the US. Some countries have their own download sites where you can find data from your own part of the world. But no matter where you are in the world if you look around you can probably find some data to work with.

Step 4: Crunch Your Data

Picture of Crunch Your Data

So hopefully by this point you have a downloaded and un-zipped GeoTIFF file. Some of you may recognize that a TIFF file is a standard raster image file format. So it should come as no surprise that you can actually open this file with Photoshop or a similar program and look at it. It is a greyscale image where the darker areas represent lower elevations and the lighter areas represent higher points. It is possible to run this image through one of myriad programs which convert greyscale pictures to 3d models. This is a useful method as a last resort, but you are left to guess at the scale of the z axis. You can fudge it, but the x and y axes of your model are accurate to millimeters shouldn't the z axis be as well?

My preferred workflow takes the GeoTIFF and converts it to an Ascii DEM file. There are a couple of programs you can use for this. The best one to start with is 3DEM . Although this program is no longer being developed it still works most of the time for what we ask of it. You simply open the GeoTIFF, admire the pretty picture and save it is an ASCII DEM. It couldn't be simpler, except that it doesn't work with all the data sets out there.

The other option here is called MICRODEM. It does all kinds of things which I'm sure are amazing to folks who understand them. For our purposes you just load your GeoTIFF, which they refer to as opening a DEM (just to make things confusing) and then save it as a USGS ASCII DEM. Also worthy of note, there is a function to output your file directly as a .obj 3d model. This option is located in the appropriately named "Caveat emptor" submenu. It is sometimes useful when the next step fails, but it usually produces models with a lot of artifacts which need to be cleaned up by hand.

Step 5: Make Your Model

Picture of Make Your Model

The best program to make a 3d model from DEM data is AccuTrans3d . This is another quirky program which does all kinds of amazing stuff. Like MicroDEM it has the feel of someone's personal tool box that they wrote to do what they needed to do at the time and then released to the world in case someone else had a use for it. You can down load it and try it for free, but if you decide to use it please send the the author the $20 he asks for it. It isn't very polished and the interface is difficult at times, but once you get the hang of it it does a great job of tuning our DEM data into an accurate 3d model.

The workflow starts with opening your DEM file as a USGS 1 degree ASCII DEM. Then use the "Convert to 3d" function to make your model. This tool's dialog box gives you the option to thin out the data a bit which you may choose to do if you have a big data set and a memory challenged computer. After you have made the conversion I suggest the "Adjust object" tool to shrink your model somewhat. AccuTrans sees things actual size so if you try to export a mountain it isn't going to fit on your printer, and it may cause a painful death to any modeling software you open it with. Scale by whatever factor you need to get the model onto your printer. Accutrans' internal units are meters, but those are interpreted as millimeters when you import your model into other software.

Right now your model is just the top surface of the terrain so it isn't printable. Luckily we can use the curiously named "Extrude Pseudo 2d surface" tool to fix that. You can choose whether to flatten the base for printing on an FDM printer or merely thicken the surface for more economical printing on industrial printers like Shapeways uses. The algorithm which flattens the base is a bit annoying because it projects every polygon from the top surface to the bottom. This doubles the size of your file, when it really only needs to add 4 data points to define the flat rectangular bottom as a single polygon.

Step 6: Set Up for Printing

Picture of Set Up for Printing

After you export your model from AccuTrans3d you may want to do some post processing before printing it. I usually use Blender to merge all of the polygons on the bottom of the model into one. This cuts your model's size in half with no loss of quality. It makes it easier on your slicer software particularly if your model is large to begin with.

The other thing to consider is which orientation to print your model. For large scale things like mountains I tend to print them in real world orientation. This avoids printing overhangs and the layer lines mimic the topographic lines of a map which is cool. Really detailed maps made from LIDAR scans are sometimes better printed on their side because the sides of a print reproduce more detail than the top.

Step 7: Print Your Map

Picture of Print Your Map

Once you have your model set up it isn't hard to print, but there are a few tricks. Because your base will be a large square or rectangle it may have pull up problems when printing. PLA is a more forgiving material for this type of print as it tends to shrink less. Choose a build plate with good stick characteristics such as PVA glue on glass. And keeping the whole printer warm or at least away from cold drafts can help with the print. You can save time when printing maps like this by not printing any base layers. You don't get as neat an appearance on the bottom but it can save hours of printing. It also helps keep the model on the build plate because there is less material to shrink and pull on the early layers.

This Yosemite model was made by gluing together 35 separate prints. Each print took about a day on a Replicator clone. The LIDAR data is so accurate that you can see individual trees and cars in parking lots.

Have fun with the technique and be sure to let me know what you come up with.

Comments

RyanC265 (author)2017-11-29

Awesome! How did you manage to keep the 35 different tiles organized and get them to line up correctly? Would like to do something like that for the Colorado National Monument! Thanks for the help

shapespeare (author)RyanC2652017-11-30

You can manually enter the coordinates for each tile on opentopo. Choose nice even numbers for your coordinates so you don't need to enter long decimals. Making your tiles 1km across makes it easy to calculate. I made a cheat sheet to help me but it is pretty easy once you get the hang of it.

RyanC265 (author)shapespeare2017-12-01

Do you know of any alternatives to the software you used for OSX? I haven’t been able to find any programs that are for OSX

shapespeare (author)RyanC2652017-12-01

There is a new technique that I just recently heard about which has been nicely documented at

http://depts.washington.edu/open3dp/wordpress/wp-c...

It uses a plug in to a program called QGIS which is available for on mac (even linux). The only other program they use is to open a gzip tar archive which you should be able to do with no problem.

RishabhP (author)2017-11-02

Great tutorial!
I’m wondering if anyone has alternatives for 3dem for Mac OS X.

hallietoews (author)2017-10-11

This is a great tutorial! I'm working on a project where I'd like to use this info but I'm wondering if you might have any suggestions on creating a file for a laser machine? I need to take a topo map and have elevation lines cut out on an interval. I'd be grateful if you have an suggestions :)

Silimun (author)2017-06-14

Very cool project. I am currently trying to do this, but I have an issue. I selected a region where the changes in elevation is not as severe as say, the Grand Canyon, but there is still significant change. When I make my 3D model, it appears very flat and the detail is difficult to see. Is there a way to introduce some vertical exaggeration to bring out the details of flatter regions? Thanks!

shapespeare (author)Silimun2017-06-15

It is simple to scale the z height of your model. You can do it in AccuTrans, but I prefer to export the model at its proper proportions and make the z height exaggeration using the slicer software. That way you have a reference for how it actually appears and you can easily vary the z height exaggeration to get the appearance you want.

Pug_dog (author)2016-12-29

That is soo cool! I saw an instructables that did something like this years ago, but it didn't actually access quality topo maps. Yours, while much more time consuming, is WAY cooler!!

_dooit_ (author)2016-09-18

Amazing!

hertzgamma (author)2016-06-22

That is so cool! Voted!

kylegilbert (author)2016-06-18

Wow, that's some amazing detail!

shapespeare (author)kylegilbert2016-06-19

Thanks. I did a model of my house where you can see the difference between my truck and my wife's car parked in the driveway. LIDAR is amazing stuff.

About This Instructable

16,645views

316favorites

License:

Bio: I make custom copper signs, metalwork and prototypes. I am one of the hosts of the "3d Printing Today Podcast", available on iTunes.
More by shapespeare:Metric BreadMake 3d Printed Topo Maps of AnywhereCreate a Voronoi Version of Anything
Add instructable to: