Hi
Not sure if this is useful for anyone else, or if indeed something similar has previously been posted, but just in case...
During my exploration travels, I found it useful to calculate the distance between two sets of 3 dimensional coordinates on the galactic map. The Excel formula for this is as follows:
=SQRT(ABS(X2-X1)^2+ABS(Y2-Y1)^2+ABS(Z2-Z1)^2)
Where X1, Y1, Z1 are the x,y,z coordinates shown on the galactic map of the first location
Where X2, Y2, Z2 are the x,y,z coordinates shown on the galactic map of the second location
So, for example, if you were trying to calculate the distance between the Earth Like at BLEIA EOHN EM-M D7-0 (located at -1007, -1021, 2167) and Robigo (located at -303, 7, -314), the formula above calculates the distance to be 2776 LY, which is correct.
I was trying to work out a formula for plotting the most efficient route between multiple locations, but I ran out of maths! I believe this is often called the "travelling salesman problem" - perhaps it should be the "exploring CMDR taking in sights problem" in Elite!
Not sure if this is useful for anyone else, or if indeed something similar has previously been posted, but just in case...
During my exploration travels, I found it useful to calculate the distance between two sets of 3 dimensional coordinates on the galactic map. The Excel formula for this is as follows:
=SQRT(ABS(X2-X1)^2+ABS(Y2-Y1)^2+ABS(Z2-Z1)^2)
Where X1, Y1, Z1 are the x,y,z coordinates shown on the galactic map of the first location
Where X2, Y2, Z2 are the x,y,z coordinates shown on the galactic map of the second location
So, for example, if you were trying to calculate the distance between the Earth Like at BLEIA EOHN EM-M D7-0 (located at -1007, -1021, 2167) and Robigo (located at -303, 7, -314), the formula above calculates the distance to be 2776 LY, which is correct.
I was trying to work out a formula for plotting the most efficient route between multiple locations, but I ran out of maths! I believe this is often called the "travelling salesman problem" - perhaps it should be the "exploring CMDR taking in sights problem" in Elite!
Last edited: