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
Next revision
Previous 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 [2021-10-05 07:04] (current)
snakeman extrenal site was done, changed to new one.
Line 1: Line 1:
 ====== Global Mapper Lat/Lon Config Tutorial ====== ====== Global Mapper Lat/Lon Config Tutorial ======
  
-**Global mapper Latitude/​Longitude config tutorial for ArmA 3 real world data terrains.**+**2021-10-05 ​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 go to [[https://latlongdata.com/lat-long-converter/|Lat Long Data]] website, paste values to "DMS (Degrees, Minutes, Seconds)" ​latitude box. Repeat this for longitude.
  
-Note that this websites longitude seconds input box only accepts integers (full numbersno XX.XXXXX).+Click green convert button and now you have two values"DD (Decimal Degrees)" 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 ​to 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.+
  
-Paste them to mapArea[] second line, shown below +config.cpp
-<​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.1548080676.txt.gz · Last modified: 2019-01-21 14:24 by snakeman