User Tools

Site Tools


arma3:terrain:qgis-real-world-data-tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arma3:terrain:qgis-real-world-data-tutorial [2019-03-31 22:28]
snakeman added new update from ross.
arma3:terrain:qgis-real-world-data-tutorial [2022-01-04 05:59] (current)
snakeman opentopo 404 link and typos fixed.
Line 53: Line 53:
 ===== Heightmap: ===== ===== Heightmap: =====
  
-This tutorial covers single raster heightmap as per the kind you will find on opentopo ​[[http://opentopo.sdsc.edu/​raster?​opentopoID=OTSRTM.082015.4326.1|here]], I will detail steps for heightmaps spread across ​muliptle ​rasters in another update. as they will require additional steps likely including Merge / Build Virtual Raster commands. This section does not cover any re scaling of heightmap, which I would recommend against anyway. Remember [[https://​pmc.editing.wiki/​doku.php?​id=arma:​terrain:​grid_cell_size|Grid size x Cell size]] should = the same size (meters) as your source heightmap selection.+This tutorial covers single raster heightmap as per the kind you will find on [[https://portal.opentopography.org/​raster?​opentopoID=OTSRTM.082015.4326.1|opentopo]], I will detail steps for heightmaps spread across ​multiple ​rasters in another update. as they will require additional steps likely including Merge / Build Virtual Raster commands. This section does not cover any re scaling of heightmap, which I would recommend against anyway. Remember [[https://​pmc.editing.wiki/​doku.php?​id=arma:​terrain:​grid_cell_size|Grid size x Cell size]] should = the same size (meters) as your source heightmap selection.
  
 **Drag and drop your heightmap '​.asc'​ into QGIS** **Drag and drop your heightmap '​.asc'​ into QGIS**
Line 106: Line 106:
 {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-AdvancedDigitizing.gif}} {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-AdvancedDigitizing.gif}}
  
-After the last **left mouse click** from the step above, the tool is still waiting to plot more points, so to finalise ​the square do a **right mouse click**+After the last **left mouse click** from the step above, the tool is still waiting to plot more points, so to finalize ​the square do a **right mouse click**
  
 {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-20b.png}} {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-20b.png}}
Line 145: Line 145:
  
 import os\\ import os\\
-os.system(r%%'''​%%gdalwarp -t_srs EPSG:​**32620** -wo SOURCE_EXTRA=1000 -tr **5.0 5.0** -srcnodata "​-9999"​ -r cubic -of GTiff -te **576787.687480 1841104.815839 597267.687480 1861584.815839 D:/​Arma/​Heightmaps/​Opentopo/​output_srtm.asc** **D:/​Arma/​QGIS/​Montserrat/​converted.tif**%%'''​%%)+os.system(r%%'''​%%gdalwarp -t_srs EPSG:​**32620** -wo SOURCE_EXTRA=1000 -tr **5.0 5.0** -srcnodata "​-9999"​ -r cubic -ot Float32 ​-of GTiff -te **576787.687480 1841104.815839 597267.687480 1861584.815839 D:/​Arma/​Heightmaps/​Opentopo/​output_srtm.asc** **D:/​Arma/​QGIS/​Montserrat/​converted.tif**%%'''​%%)
  
 Some explanation of the key parameters: Some explanation of the key parameters:
Line 180: Line 180:
 ==== For single tile export ==== ==== For single tile export ====
  
-**Load in just the '​.map'​ files generated from Terra incognita ​into QGIS**+**Load in just the '​.map'​ files generated from Terra Incognita ​into QGIS**
  
 {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-1b.png}} {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-1b.png}}
Line 321: Line 321:
  
  
-Before loading the satellite image into Terrrain ​Builder delete the .bmp.aux file+Before loading the satellite image into Terrain ​Builder delete the .bmp.aux file
  
 {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-08.png}} {{https://​pmc.editing.wiki/​images/​Ross-QGIS-Tutorial-08.png}}
Line 502: Line 502:
 You can also export your terrain to a browser interface if you want - **File** > **Export to web** You can also export your terrain to a browser interface if you want - **File** > **Export to web**
  
-**Coming Soon:** 
-  * Assisted image classification - for creation of mask 
arma3/terrain/qgis-real-world-data-tutorial.1554071327.txt.gz ยท Last modified: 2019-03-31 22:28 by snakeman