Difference between revisions of "Topo to 3D"

From DiLab
Jump to: navigation, search
Line 1: Line 1:
How to make a printable 3D model from topo maps - notes.
How to make a printable 3D model from topo maps - notes.


=== Get the topo map data ===

Get the topo map, in GeoTiff format.
Get the topo map, in GeoTiff format.
Possible sources are:
Possible sources are:
Line 7: Line 7:
* https://viewer.nationalmap.gov/basic/
* https://viewer.nationalmap.gov/basic/


=== Convert to DEM ===

Convert the GeoTiff file to USGS ASCII DEM format.
Convert the GeoTiff file to USGS ASCII DEM (Digitial Elevation Model) format.
Possible tools are:
Possible tools are:
* On Linux: [https://gdal.org/programs/gdal_translate.html GDAL translate option]
* On Linux: [https://gdal.org/programs/gdal_translate.html GDAL translate option]
Line 15: Line 15:


* Or from another program like QGIS. Load your raster file and then from the menu: Raster->Conversion->Translate. You will have to manually edit the command to change the format from GTiff to AAIGrid
* Or from another program like QGIS. Load your raster file and then from the menu: Raster->Conversion->Translate. You will have to manually edit the command to change the format from GTiff to AAIGrid

=== DEM to STL ===


==Alternatives ==
You could import the map image to Blender and edit it there. There is [http://johnflower.org/tutorial/make-mountains-blender-heightmaps a nice tutorial] for that.

Revision as of 14:04, 23 July 2019

How to make a printable 3D model from topo maps - notes.

Get the topo map data

Get the topo map, in GeoTiff format. Possible sources are:

Convert to DEM

Convert the GeoTiff file to USGS ASCII DEM (Digitial Elevation Model) format. Possible tools are:

sudo apt install gdal-bin
gdal_translate -of AAIGrid /yoursourcepath/output_alos.tif /youroutputpath/out.asc
  • Or from another program like QGIS. Load your raster file and then from the menu: Raster->Conversion->Translate. You will have to manually edit the command to change the format from GTiff to AAIGrid

DEM to STL

Alternatives

You could import the map image to Blender and edit it there. There is a nice tutorial for that.