Jump to content

Conversion of x/x and lat/lon


Raf

Recommended Posts

Hi there,

I am trying to develop some tool that integrates integrate on mission creation.

In order to do that I'll need to place units via the x/y coordinates, but all I have in my side are lat/lon.

 

I have already been searching this for days: the only thing I found is coords.xxx method but those run only inside the sim. I even looked where that function is actually implemented, but I can't figure out exactly what is doing, my assumption is that it's using the terrain library too.

 

I assumed later it's gonna be a different function for every map.

I noticed there is a stretch+rotation for the LL lines in the map, right now I'm looking at the caucasus, maybe is enough if I calculate that somehow, the work seems tedious tho.

 

Is the x/y always a distance in meters float? If so it could help a bit at least, because in such case I only need to take care of the rotation and not of the stretch, because I would use some known formula for earth-distance calculations.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...