Difference between revisions of "Topo to 3D"
(3 intermediate revisions by the same user not shown) | |||
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] | ||
sudo apt install gdal-bin | sudo apt install gdal-bin | ||
gdal_translate -of AAIGrid /yoursourcepath/output_alos.tif /youroutputpath/out.asc | 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 [http://johnflower.org/tutorial/make-mountains-blender-heightmaps a nice tutorial] for that. | ||
+ | |||
+ | |||
+ | * [https://edutechwiki.unige.ch/en/3D_printing_of_digital_elevation_models_with_QGIS#Create_STL_from_DEM_files_with_the_QGIS_DEMto3D_extension Another tutorial] using QGIS and DemTo3DPrinting plugin. |
Latest revision as of 13:47, 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:
- On Linux: GDAL translate option
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.
- Another tutorial using QGIS and DemTo3DPrinting plugin.