Translations for our friends around the world.

Click on banner for Tacview website

Author Topic: How to convert Falcon 4.0 coordinates in Tacview coordinates?  (Read 10154 times)

0 Members and 1 Guest are viewing this topic.

Offline Vyrtuoz

  • Moderator
  • *****
  • Posts: 189
  • Tacview Developer
    • Tacview The Universal Flight Analysis Tool
At some point Tacview will natively support Falcon 4.0 coordinates for static objects declared in KML files. Meanwhile you can use the following formula to convert Falcon 4.0 coordinates in Tacview longitude/latitude.

Use the resulting coordinates to populate XML or KML files to add objects in Tacview world. Please see the dedicated documentation on that matter: http://tacview.strasoftware.com/documentation/staticobjects/

Code: [Select]
longitude = west  + x * (east  - west ) / (width  * 819.995);
latitude  = south + y * (north - south) / (height * 819.995);

// Where:
//   x,y are falcon coordinates
//   north, south, east, and west are the terrain boundaries (in degrees)
//   width and height are the terrain size in samples (4096 in most case)

// This gives us the following for the Korean theater declared in
// C:\Program Files (x86)\Stra Software\Tacview\Data\Xml\Data-Falcon4Theaters.xml

longitude =   123 + x * (132.26 -   123) / (4096 * 819.995) =   123 + x * 0.00000275701
latitude  = 33.79 + y * (    43 - 33.79) / (4096 * 819.995) = 33.79 + y * 0.00000274213

(reference: http://tacview.strasoftware.com/documentation/falcon/#q34 )
« Last Edit: May 26, 2016, 03:14:43 PM by Vyrtuoz »
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions
Click.gif

Tags:
     

    Tacview map generation based on theater info?

    Started by inexus

    Replies: 1
    Views: 3714
    Last post January 04, 2020, 04:43:03 PM
    by Vyrtuoz
    How to display BMS maps in Tacview?

    Started by Vyrtuoz

    Replies: 1
    Views: 7938
    Last post July 28, 2017, 11:12:17 PM
    by Lusik
    Tacview Nordic (Polar Vortex) Theater

    Started by RoLan

    Replies: 5
    Views: 7182
    Last post January 27, 2020, 08:43:28 PM
    by BuzyBee
    Tacview "groups" with BMS.

    Started by Xtacy

    Replies: 3
    Views: 7295
    Last post January 28, 2018, 07:31:10 PM
    by Xtacy
    How best to use Tacview when reviewing a multi-"round" BMS dogfight?

    Started by Mylonite470

    Replies: 0
    Views: 4563
    Last post December 19, 2020, 10:37:14 PM
    by Mylonite470