Convert coordinate of bms point in X and Y coordinates Feet
-
I use this formulas to convert coordinate of bms point in X and Y coordinates Feet
X = earthRadiusFT * Lat_radians - LAT_DD_origine * FTperMinute * 60
Y = earthRadiusFT * Cos(Lat_radians) * Long_radians - LONG_RAD_origine * earthRadiusFT * Cos(Lat_radians)where:
earthRadiusFT = 20925700,0000
Lat_radians = the lat of point in radians
Long_radians = the long of point in radians
LAT_DD_origine = 33,843750 lat of the point (0.0) of korea map
LONG_RAD_origine = 2,146754979953 f(123,0) long of the point (0,0) of korea map in radians
FTperMinute = 6087,03141but i get a error beetween +/- 3 ft from the effective X,Y coordinates from from DTC.
Pheraps the parameter is not the same used in BMS code?
I can have a piece of BMS code that do this?
for example:
target_14=772639.312500, 1303172.125000, -10.000000, -1, Kunsan Airbase Kunsan ATC (row from DTC)
from formulas:
772638 1303169
where am I wrong?
-
where am I wrong?
earthRadius ?
AFAIK the Falcons world is flat and uses Sinusoidal projection with WGS1984 Spheroid.
Cheers,
LS -
Tanks for reply.
You can help me with any formula o piece of code to convert the coordinate in feet -
Sorry no, … coding and coordinates converting is beyond my knowledge.
Maybe reading through the partially outdated terrain wiki helps:
http://tactical.nekromantix.com/wiki/doku.php?id=falcon4Cheers,
LS -
I use this formulas to convert coordinate of bms point in X and Y coordinates Feet
X = earthRadiusFT * Lat_radians - LAT_DD_origine * FTperMinute * 60
Y = earthRadiusFT * Cos(Lat_radians) * Long_radians - LONG_RAD_origine * earthRadiusFT * Cos(Lat_radians)where:
earthRadiusFT = 20925700,0000
Lat_radians = the lat of point in radians
Long_radians = the long of point in radians
LAT_DD_origine = 33,843750 lat of the point (0.0) of korea map
LONG_RAD_origine = 2,146754979953 f(123,0) long of the point (0,0) of korea map in radians
FTperMinute = 6087,03141but i get a error beetween +/- 3 ft from the effective X,Y coordinates from from DTC.
Pheraps the parameter is not the same used in BMS code?
I can have a piece of BMS code that do this?
for example:
target_14=772639.312500, 1303172.125000, -10.000000, -1, Kunsan Airbase Kunsan ATC (row from DTC)
from formulas:
772638 1303169
where am I wrong?
-
Dear,
I found https://www.benchmarksims.org/forum/showthread.php?19693-converting-x-and-y-values-into-lat-and-long&highlight=convertXYtoLatLon
This is for FreeFalcon code. but it showed more deviation than yours. -
Sorry for ressurecting this thread.
Am working on a project that aims to integrate BMS into IVAO.
For that, need to try and find a way to, calculate BMS X/Y from shared-memory in real coordinates.
So, need to know if these X/Y values from any flight data are linear distances (in feet) from theater origin point (south/west corner), or it is not that way and any formulae is applyed to these distances…?
Thank you in advance. -
This may be of help: http://www.mediafire.com/file/hf3xkhogpeai4fe/TV_Converter.exe
Except for the distance part your searching for???
It’s a standalone .exe.
C9
-
Thank you C9.
Anyway I’d need an algorithm so it can be computed in the IVAO converter we are developing. A stand-alone application doesn’t show calculations done.
In this case only need to know if X/Y aircrafts position read from shared memory, is linear/ direct distance (in feet) from theater origin point without any convertions or adaptations, etc….