User Tools

Site Tools


arma3:terrain:qgis-real-world-data

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 [2017-02-07 09:55]
snakeman moved bunch of stuff to their own pages.
arma3:terrain:qgis-real-world-data [2018-07-26 20:10] (current)
snakeman added link.
Line 1: Line 1:
 ====== Real World Data using QGIS ====== ====== Real World Data using QGIS ======
  
-How to get real world data through QGIS into terrain builder and arma3. See our main [[arma3:​terrain:​real-world-data-tutorial]] page for the main tutorial part+How to get real world data through QGIS into terrain builder and arma3. See our main [[arma3:​terrain:​real-world-data-tutorial|Real world data tutorial]] page for the main tutorial part and [[qgis-real-world-data-tutorial|QGIS real world data tutorial]] by Ross.
- +
- +
-====== Disclaimer WIP ====== +
- +
-This QGIS page is work in progress, **this is not a complete tutorial**. Please ​[[:contact|contact]] us if you can provide any more information about QGIS real world data subject.+
  
  
Line 17: Line 12:
   * satellite mask   * satellite mask
   * <​del>​roads</​del>​ see [[arma3:​terrain:​road-shapefiles-real-world-data]]   * <​del>​roads</​del>​ see [[arma3:​terrain:​road-shapefiles-real-world-data]]
-  * vegetation+  * <del>vegetation</​del>​ see [[real-world-data-tutorial]]
  
 And process these through [[http://​www.qgis.org/​en/​site/​|QGIS]] (free open source program) into terrain builder and finally into finished arma3 terrain addon. And process these through [[http://​www.qgis.org/​en/​site/​|QGIS]] (free open source program) into terrain builder and finally into finished arma3 terrain addon.
- 
-**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.** 
  
  
Line 54: Line 47:
  
 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://​download.geofabrik.de/​|OSM shapefiles from geofabrik.de]] instead.
  
  
Line 67: Line 62:
  
 You should download [[arma3:​terrain:​satellite-texture-terra-incognita|Satellite Texture with Terra Incognita]] instead. You should download [[arma3:​terrain:​satellite-texture-terra-incognita|Satellite Texture with Terra Incognita]] instead.
- 
- 
-====== 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:​ you need to know now exactly how large of a chunk you need. and the coordinates / extents of this data. I have changed up everything to match arma worldspace by using the methods in my [[arma3:​terrain:​qgis-reproject-transform-tutorial|QGIS Reproject & Transform Tutorial]]. 
- 
-FinCenturion:​ but you need lower left corner x,y and upper right corner x,y coords\\ 
-FinCenturion:​ if you have more data than you will need you can of course use an area that is in power of two - so you can keep the horizontal scale 1:1 with real life\\ 
-FinCenturion:​ say you want to do a 4096 x 4096 m map, and your lower corner is in the (fictive) coords of x 1000 and y 1000 - > exents 1000, 1000 and 5096 and 5096\\ 
-FinCenturion:​ if that made any sense :smile: 
- 
-To save the image use composer -> export as image 
  
  
Line 132: Line 103:
  
  
-====== ​Misc Notes ====== +====== ​QGIS Refactor Fields ​======
- +
-**QGIS** +
- +
-[4:09 PM] NigeyS: oo reproject and transform... yeah thats gonna give me a headache\\ +
-[4:19 PM] FinCenturion:​ for image export purposes you dont need to reproject and transform\\ +
-[4:19 PM] FinCenturion:​ but if you wish to use shapefiles straight up in TP or TB you do\\ +
-[4:20 PM] NigeyS: atm i just need to get it into photoshop for the layer mask\\ +
-[4:21 PM] FinCenturion:​ to use print composer make  a new print composer, then under the composition tab in the workspace make sure the page is square, i use 1000x1000mm\\ +
-[4:22 PM] FinCenturion:​ then use the add map function from the layout drop down box\\ +
-[4:22 PM] FinCenturion:​ scale the newly added map to cover the white sheet\\ +
-[4:22 PM] FinCenturion:​ then click on your new map, go to the item proprties tab on the right again\\ +
-[4:23 PM] FinCenturion:​ use the Extents to get the correct display\\ +
-[4:23 PM] FinCenturion:​ so you basically need to know pretty exact coords of your map\\ +
-[4:24 PM] FinCenturion:​ that is why sometimes it's better to have all your shape data reprojected to arma 3 TB worldspace\\ +
-[4:24 PM] FinCenturion:​ anyhoo, then you use the export image button and set a file name, then final resolution\\ +
-[4:25 PM] FinCenturion:​ it's a bit of a bother at first but QGIS is a massive help once you get used to it\\ +
-[4:26 PM] NigeyS: that'​ll help thanks, i have all the co-ords etc +
  
-====== Open Questions ======+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 "​Refactor fields"​ plugin.
  
-Snake Man: ok when you choose area of terrain ​you want to downloaddo you just get "bulk" ​data with large amounts of room to maneuver ​or do you get square power of two exact size for arma3 use like 10km x 10km?+In processing toolbox search for "​refactor fields",​ open it. Now you can reorder the fields mapping dialog listso if you need to swap "name" ​and "​type"​ fields, just click one and use the arrow keys to move up or down.
  
-Answer: for global mapper you just get bulk data and cut it there, no idea if this is possible in QGIS...+When reorder is OK then just click run button ​and it creates refactored layer with the new reordered fields.
arma3/terrain/qgis-real-world-data.1486461346.txt.gz · Last modified: 2017-02-07 09:55 by snakeman