arma3:terrain:global-mapper-latitude-longitude-config
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
arma3:terrain:global-mapper-latitude-longitude-config [2019/01/21 14:24] – added better note about negative latitude. snakeman | arma3:terrain:global-mapper-latitude-longitude-config [2019/01/21 20:40] – rewrite due new info of maparea and mapzone being obsolete. snakeman | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Global mapper Latitude/ | **Global mapper Latitude/ | ||
- | Load global mapper project, | + | Load global mapper project, |
- | RMB -> vertex editing -> set position of selected vertices. | + | RMB -> crop combine/ |
+ | |||
+ | 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/ | Tick geographic coordinates (latitude/ | ||
- | Copy paste latitude and goto [[http:// | + | Copy latitude |
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. | + | Now just copy-paste the calculated |
- | <code cpp> | + | |
- | mapArea[] = | + | |
- | { | + | |
- | -14.60974078, | + | |
- | , // longitude here | + | |
- | }; | + | |
- | </ | + | |
- | 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 | + | |
- | < | + | |
- | mapArea[] = | + | |
- | { | + | |
- | -14.60974078, | + | |
- | -15.35597344, | + | |
- | }; | + | |
- | </ | + | |
- | + | ||
- | 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/ | + | |
- | + | ||
- | 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; | ||
- | </ | ||
- | |||
- | Finally grab the mapZone value from global mapper status bar (bottom) where it says like UTM 38N. | ||
- | <code cpp> | ||
- | mapZone = 38; | ||
</ | </ |
arma3/terrain/global-mapper-latitude-longitude-config.txt · Last modified: 2024/08/02 17:47 by snakeman