arma3:terrain:qgis-real-world-data
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arma3:terrain:qgis-real-world-data [2017/01/20 16:13] – added contact link. snakeman | arma3:terrain:qgis-real-world-data [2024/08/02 18:54] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | This page is work in progress, **this is not a complete tutorial**. This is notes written down from our discord arma server # | + | [[https:// |
- | Please | + | How to get real world data through QGIS into terrain builder and arma3. See our main [[arma3:terrain: |
- | + | ||
- | btw you can scroll to bottom of this page to see last update time in lower right corner. | + | |
Line 12: | Line 10: | ||
Goal of this work in progress page is to learn how to get real world data for: | Goal of this work in progress page is to learn how to get real world data for: | ||
- | * terrain | + | * <del>terrain</ |
- | * satellite texture | + | * < |
* satellite mask | * satellite mask | ||
- | * roads | + | * <del>roads</ |
- | * vegetation | + | * <del>vegetation</ |
And process these through [[http:// | And process these through [[http:// | ||
- | |||
- | **I do not know if all of the above is possible, terrain is but mask? vegetation? No idea yet, I'm learning one step at the time.** | ||
- | |||
- | |||
- | ====== Real World Terrain Data to ArmA 3 ====== | ||
- | |||
- | **HOWTO get real world terrain data into ArmA 3** | ||
- | |||
- | |||
- | |||
- | ====== Terrain Heightmap ====== | ||
- | |||
- | **ALOS World 3D - 30m data from opentopo.sdsc.edu** | ||
- | |||
- | Go to [[http:// | ||
- | |||
- | Use mouse wheel (middle button) to zoom in / out of the globe map, LMB and drag to move the map. | ||
- | |||
- | Once you have zoomed enough in to a smallish area, click " | ||
- | |||
- | In coordinates box, if you choose to do so, you can tick " | ||
- | |||
- | Once you are satisfied with your selection, scroll down to data output formats. Choose "Arc ASCII Grid" from the drop down. | ||
- | |||
- | On visualization untick " | ||
- | |||
- | Finally on job description box "Enter your e-mail address" | ||
- | |||
- | When fake email is in, click submit. | ||
- | |||
- | Once processing is done you get " | ||
- | |||
- | This download is always the same file name so **please be careful and unpack this file into a directory**, | ||
- | |||
- | You should be able to import the tar gunzip (.gz) file into QGIS, however you should unpack it first like explained above. You can save the heightmap from QGIS into TIF file format and then read the tif with L3DT. L3DT can then save the heightmap as ASCII grid or XYZ. | ||
Line 77: | Line 40: | ||
====== OpenStreetMap ====== | ====== OpenStreetMap ====== | ||
- | Once you have terrain loaded in QGIS, you can get streets / roads to show transparent on top of it. | + | Once you have terrain loaded in QGIS, you can get streets / roads to show transparent on top of it. This is just an image, not actual road shapefiles, see [[arma3: |
Use web -> openlayers plugin -> openstreetmap -> openstreetmap (heh yes twice). | Use web -> openlayers plugin -> openstreetmap -> openstreetmap (heh yes twice). | ||
Line 86: | Line 49: | ||
You can click the X button in layer panel on each layer to turn them on/off. | You can click the X button in layer panel on each layer to turn them on/off. | ||
+ | |||
+ | You should download [[http:// | ||
Line 98: | Line 63: | ||
Hydrra: Yeah, The plugin provides both sat image and street map. just make sure to separate the layer groups so it's easier to keep track of. | Hydrra: Yeah, The plugin provides both sat image and street map. just make sure to separate the layer groups so it's easier to keep track of. | ||
- | + | You should | |
- | ====== Convert Geodetic .ASC ====== | + | |
- | + | ||
- | Terrain Processor | + | |
- | + | ||
- | Source | + | |
- | + | ||
- | + | ||
- | ====== Terra Incognita ====== | + | |
- | + | ||
- | Terra Incognita should be able to download high resolution | + | |
- | + | ||
- | Source **SOURCEFORGE.NET | + | |
- | + | ||
- | If you browse to [[https:// | + | |
- | + | ||
- | Ice: Also in TerraIncognita zoom right in so it says 1m\px or something right at top of your screen, then export your image as OziExplorer, | + | |
- | + | ||
- | Select map source -> maps.google.com -> google satellite map. | + | |
- | + | ||
- | Ice: if you don't have any map source the .dll may be blocked. So you have to unblock it like you would with the x-cams one | + | |
- | + | ||
- | Use mouse wheel to zoom in / out of the globe map, LMB drag to move the globe map. | + | |
- | + | ||
- | Once you have found a nice area you want to save as satellite | + | |
- | + | ||
- | Apparently there is no way to make perfect square, power of two selection as you are doing it freehand, if anyone knows a way please let us know. | + | |
- | + | ||
- | You can move the selection if you LMB inside the red rectangle and drag. If you LMB drag outside the rectangle you will make a new selection losing the old one. | + | |
- | + | ||
- | Please be careful when making a selection, try to visualize how large it is, you can easily make larger than 40960 x 40960 resolution images which has been the largest we have been able to import into photoshop. It is easy to just choose "cool looking area" and then it turns out to be 200k x 200k resolution, yikes! :) | + | |
- | + | ||
- | When you are ready, use mouse wheel to zoom IN until the header says (1m/px) resolution. Now use file -> save map -> oziexplorer map, to save your selected satellite texture. | + | |
- | + | ||
- | Once downloading there is no abort button, you just have to close terra incognita | + | |
- | + | ||
- | Terra Incognita | + | |
- | + | ||
- | You can use QGIS (or Global Mapper) to open oziexplorer .map files. | + | |
- | + | ||
- | QGIS layer -> add layers -> add raster layer, choose pcraster .map and select your terra incognita saved oziexplorer .map file. appears in QGIS main view OK. | + | |
- | + | ||
- | **Selecting Square Area** | + | |
- | + | ||
- | [PTR] brenden0309: | + | |
- | + | ||
- | [PTR] brenden0309: | + | |
- | + | ||
- | [PTR] brenden0309: | + | |
- | + | ||
- | [PTR] brenden0309: | + | |
- | + | ||
- | + | ||
- | ====== QGIS Print Composer ====== | + | |
- | + | ||
- | Print Composer will save an image of your current view. | + | |
- | + | ||
- | Open it by Project -> new print composer, or use CTRL-P | + | |
- | + | ||
- | Make it a square pare size, for example 100mm x 100mm. | + | |
- | + | ||
- | Select layout -> add map, drag a box around the white area. | + | |
- | + | ||
- | The view should look like your current QGIS main view, hide/show layers to get the view you want like google satellite. | + | |
- | + | ||
- | Item properties -> extents, no idea what to do with those :) | + | |
- | + | ||
- | FinCenturion: | + | |
- | + | ||
- | FinCenturion: | + | |
- | FinCenturion: | + | |
- | FinCenturion: | + | |
- | FinCenturion: | + | |
- | + | ||
- | To save the image use composer -> export as image | + | |
Line 214: | Line 105: | ||
- | ====== | + | ====== |
- | + | ||
- | See [[arma2: | + | |
- | + | ||
- | Or **Offline Map Maker** which is better version of **Universal Map Downloader** I think. | + | |
- | + | ||
- | This tutorial is supposed to be QGIS real world data... umm err yes but, heh :) | + | |
- | + | ||
- | Some comments from bis forum: | + | |
- | + | ||
- | While I [ZeroG] was using UMD myself at times I created my tutorial, I nowadays only use Global Mapper, as it allows you to download layers just the exact size of the map and you can export them just fitting on the square you defined, projected in UTM and automatically stitched together. Furthermore, | + | |
- | + | ||
- | For satellite images, I use "World Imagery" | + | |
- | + | ||
- | What I know find quite useful is "World Topographic Map", as the terrain features there are represented in one color and not so detailed like on satellite images, which means you can easily separate them and fill them with (Chernarus/ | + | |
- | + | ||
- | for a small terrain the world imagery is usefull, but with a bigger terrain size u run into trouble realy fast. as u encounter issue' | + | |
- | + | ||
- | you download your hight data here: | + | |
- | + | ||
- | http:// | + | |
- | + | ||
- | there u get your hight data and coords those coords u put into universal maps downloader to download satallite image. Global mapper only needs the .tiff file, coord info is embedded in the .tiff file. | + | |
- | + | ||
- | If you want to get geo-referenced images of any zoom level, with the GPS stuff in the file, use this program: http:// | + | |
- | + | ||
- | **Snake Man Offline Map Maker notes:** | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | latitude = up/down\\ | + | |
- | longitude = left/ | + | |
- | + | ||
- | zoom level low number == low quality, high number high quality. Offline map maker allows zoom level 19 while universal map downloader only 17 unless I'm mistaken. | + | |
- | + | ||
- | 01-04-17 when downloading, | + | |
- | + | ||
- | Not sure if zoom level 19 is too much, back in the arma2 terrain era I used universal maps downloader zoom level 17. not sure if the scale is better or perfect for arma terrains in general. | + | |
- | Using Offline Map Maker' | + | OSM place names data sometimes comes with different order for the fields, this will break up PMC OSM Places CSV2HPP tool. You can fix this in QGIS by using " |
+ | In processing toolbox search for " | ||
- | ====== Open Questions ====== | + | When reorder is OK then just click run button and it creates refactored layer with the new reordered fields. |
- | Snake Man: ok when you choose area of terrain you want to download, do you just get " |
arma3/terrain/qgis-real-world-data.1484928802.txt.gz · Last modified: 2017/01/20 16:13 by snakeman