This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
arma3:terrain:global-mapper-latitude-longitude-config [2019-01-21 12:09] snakeman created initial page. |
arma3:terrain:global-mapper-latitude-longitude-config [2019-01-21 14:24] snakeman added better note about negative latitude. |
||
---|---|---|---|
Line 12: | Line 12: | ||
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). | ||
+ | |||
+ | 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 | Click convert to decimal degrees button and now you have two values. Copy paste lat to mapArea[] first line, shown below | ||
Line 17: | Line 19: | ||
mapArea[] = | mapArea[] = | ||
{ | { | ||
- | 14.60974078, 42.84222222, // latitude here | + | -14.60974078, 42.84222222, // latitude here |
, // longitude here | , // longitude here | ||
}; | }; | ||
Line 28: | Line 30: | ||
mapArea[] = | mapArea[] = | ||
{ | { | ||
- | 14.60974078, 42.84222222, // latitude here | + | -14.60974078, 42.84222222, // latitude here |
- | 15.35597344, 43.59888889 // longitude here | + | -15.35597344, 43.59888889 // longitude here |
}; | }; | ||
</code> | </code> | ||
Line 37: | Line 39: | ||
Drag a box around the vertice in center of your user created feature grid, get its coordinates same way we did above. | Drag a box around the vertice in center of your user created feature grid, get its coordinates same way we did above. | ||
- | Paste these values normally, except **latitude is with NEGATIVE number if its north of equator** | + | Paste values |
<code cpp> | <code cpp> | ||
latitude = -14.98310431; | latitude = -14.98310431; |