User Tools

Site Tools


arma3:terrain:global-mapper-latitude-longitude-config

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
arma3:terrain:global-mapper-latitude-longitude-config [2019-01-21 14:24]
snakeman added better note about negative latitude.
arma3:terrain:global-mapper-latitude-longitude-config [2019-01-21 20:40]
snakeman rewrite due new info of maparea and mapzone being obsolete.
Line 3: Line 3:
 **Global mapper Latitude/​Longitude config tutorial for ArmA 3 real world data terrains.** **Global mapper Latitude/​Longitude config tutorial for ArmA 3 real world data terrains.**
  
-Load global mapper project, ​drag a box around bottom left user created feature grid vertice.+Load global mapper project, ​select ​user created feature grid.
  
-RMB -> vertex editing -> set position of selected vertices.+RMB -> crop combine/​split/​split functions -> subdivide quadliteral area. Use grid number of rows and columns: 2, click OK. On modify feature info dialog click OK. 
 + 
 +Drag a box around the new vertice in center of your user created feature grid, then RMB -> vertex editing -> set position of selected vertices.
  
 Tick geographic coordinates (latitude/​longitude). Tick geographic coordinates (latitude/​longitude).
  
-Copy paste latitude and goto [[http://​www.latlong.net/​degrees-minutes-seconds-to-decimal-degrees|latlong.net]] website, paste values to latitude box. Repeat this for longitude.+Copy latitude ​to clipboard ​and goto [[http://​www.latlong.net/​degrees-minutes-seconds-to-decimal-degrees|latlong.net]] website, paste values to latitude box. Repeat this for longitude.
  
 Note that this websites longitude seconds input box only accepts integers (full numbers, no XX.XXXXX). Note that this websites longitude seconds input box only accepts integers (full numbers, no XX.XXXXX).
 +
 +Click convert to decimal degrees button and now you have two values, latitude and longitude.
  
 For some reason arma3 **latitude is with NEGATIVE number if its north of equator**. For some reason arma3 **latitude is with NEGATIVE number if its north of equator**.
  
-Click convert to decimal degrees button and now you have two values. ​Copy paste lat to mapArea[] first line, shown below +Now just copy-paste the calculated ​values ​from latlong.net website into your config and don't forget the north of equator negative value.
-<code cpp> +
-mapArea[] = +
-+
- -14.60974078,​ 42.84222222, // latitude here +
- ,  // longitude here +
-}; +
-</​code>​+
  
-Back in global mapper drag a box around top right user created feature grid vertice, get the coordinates same as latitude. +config.cpp
- +
-Paste them to mapArea[] second line, shown below +
-<​code ​cpp+
-mapArea[] = +
-+
- -14.60974078,​ 42.84222222,​ // latitude here +
- -15.35597344,​ 43.59888889 // longitude here +
-}; +
-</​code>​ +
- +
-Next we get the center latitude longitude coordinate for the terrain, go back to global mapper, select the whole user created feature grid, RMB -> crop combine/​split/​split functions -> subdivide quadliteral area. Use grid number of rows and columns: 2, click OK. On modify feature info dialog click OK. +
- +
-Drag a box around the vertice in center of your user created feature grid, get its coordinates same way we did above. +
- +
-Paste values+
 <code cpp> <code cpp>
 latitude = -14.98310431;​ latitude = -14.98310431;​
 longitude = 43.21916667;​ longitude = 43.21916667;​
-</​code>​ 
- 
-Finally grab the mapZone value from global mapper status bar (bottom) where it says like UTM 38N. 
-<code cpp> 
-mapZone = 38; 
 </​code>​ </​code>​
arma3/terrain/global-mapper-latitude-longitude-config.txt · Last modified: 2021-10-05 07:04 by snakeman