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 revisionPrevious revision
Next revision
Previous revision
arma3:terrain:qgis-real-world-data-tutorial [2019/03/31 22:28] – added new update from ross. snakemanarma3:terrain:qgis-real-world-data-tutorial [2024/08/02 18:53] (current) – links added. snakeman
Line 1: Line 1:
-====== QGIS Real World Data Tutorial ======+====== ArmA 3 QGIS Real World Data Tutorial ======
  
-ArmA 3 QGIS Real World Data Tutorial By Ross+[[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]] 
 + 
 +**ArmA 3 QGIS Real World Data Tutorial** by Ross
  
 This process has often been described using Global Mapper, but I wanted to detail the equivalent steps within the open source (free) GIS app - QGIS. This process has often been described using Global Mapper, but I wanted to detail the equivalent steps within the open source (free) GIS app - QGIS.
Line 53: Line 55:
 ===== 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 108:
 {{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 147:
  
 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 182:
 ==== 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 323:
  
  
-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 504:
 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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.