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

Next revision
Previous revision
arma3:terrain:global-mapper-latitude-longitude-config [2019/01/21 12:09] – created initial page. 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.
  
-Tick geographic coordinates (latitude/longitude).+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.
  
-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.+Drag a box around the new vertice in center of your user created feature grid, then RMB -> vertex editing -> set position of selected vertices.
  
-Note that this websites longitude seconds input box only accepts integers (full numbers, no XX.XXXXX).+Tick geographic coordinates (latitude/longitude).
  
-Click convert to decimal degrees button and now you have two values. Copy paste lat to mapArea[] first line, shown below +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.
-<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 verticeget the coordinates same as latitude.+Click green convert button and now you have two values"DD (Decimal Degrees)" latitude and longitude.
  
-Paste them to mapArea[] second line, shown below +For some reason arma3 **latitude is with NEGATIVE number if its north of equator**.
-<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.+Now just copy-paste the calculated values to your config and don't forget the north of equator negative value.
  
-Drag a box around the vertice in center of your user created feature grid, get its coordinates same way we did above. +config.cpp
- +
-Paste these values normally, except **latitude is with NEGATIVE number if its north of equator**+
 <code cpp> <code cpp>
 latitude = -14.98310431; latitude = -14.98310431;
Line 43: 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.1548072584.txt.gz · Last modified: 2019/01/21 12:09 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.