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 revisionPrevious revision
Next revision
Previous revision
arma3:terrain:global-mapper-latitude-longitude-config [2019/01/21 14:24] – added better note about negative latitude. snakemanarma3:terrain:global-mapper-latitude-longitude-config [2024/08/02 17:47] (current) – links added. snakeman
Line 1: Line 1:
-====== Global Mapper Lat/Lon Config Tutorial ======+====== ArmA 3 Global Mapper Lat/Lon Config Tutorial ======
  
-**Global mapper Latitude/Longitude config tutorial for ArmA 3 real world data terrains.**+[[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]]
  
-Load global mapper project, drag a box around bottom left user created feature grid vertice.+**2021-10-05 Global mapper Latitude/Longitude config tutorial for ArmA 3 real world data terrains.**
  
-RMB -> vertex editing -> set position of selected vertices.+Load global mapper project, select 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 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. +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;
Line 45: Line 27:
 </code> </code>
  
-Finally grab the mapZone value from global mapper status bar (bottom) where it says like UTM 38N. 
-<code cpp> 
-mapZone = 38; 
-</code> 
arma3/terrain/global-mapper-latitude-longitude-config.1548080676.txt.gz · Last modified: 2019/01/21 14:24 by snakeman