Converting longitude/latitude to world tile coordinates
Posted: Fri Jun 22, 2007 4:30 pm
I am trying to find a way to convert a real world coordinate (longitude/latitude) to an MSTS grid coordinate. Is there some special formula (or tool ?) to do this ?
I found a formula here http://forums.uktrainsim.com/viewtopic. ... e+latitude but this only gives you the coordinate - need to get the correct tile as well !
Being a maths anti-boffin I can't work all this out for myself though
Reason I want to do this ? I need to be able to place an object at a real world coordinate rather than 'as good as' ! Need to be able to enter the x and z coordinates directly into the objects info box (or directly into the .w world file).
Can anyone help ? Please ?
I found a formula here http://forums.uktrainsim.com/viewtopic. ... e+latitude but this only gives you the coordinate - need to get the correct tile as well !
Being a maths anti-boffin I can't work all this out for myself though
Reason I want to do this ? I need to be able to place an object at a real world coordinate rather than 'as good as' ! Need to be able to enter the x and z coordinates directly into the objects info box (or directly into the .w world file).
Can anyone help ? Please ?