I was using the accurate distance but Oolite for legacy reasons from Elite was using the following:
Code: Select all
OOINLINE double distanceBetweenPlanetPositions ( int x1, int y1, int x2, int y2)
{
int dx = x1 - x2;
int dy = (y1 - y2)/2;
int dist = sqrtf(dx*dx + dy*dy); // here's where the rounding errors come in!
return 0.4 * dist;
}
I have incorporated this into my XSLT script and here is a corrected version of the map:
GALAXY 6 (v5)
I have applied a few Unix commands to do a comparison between version 4 and 5 and found that no routes were removed (unsurprisingly) and 28 new ones have been added. Here is the list of new routes:
BEBIDISO -> ORXETE
BEBIDISO -> SOINISAT
ARARON -> ORRIA
LEMAAR -> QUTEER
ONENTE -> LAESQU
ACETEAT -> LAESQU
ACETEAT -> ERCEA
ATEN -> DIATQUOR
LERELA -> ZAUSRI
ARENDI -> EDARANIS
LELALE -> XEBEAZA
AQUTEBI -> LEENLAES
ZAESISMA -> SOZALA
ANARE -> TEESSO
ANARE -> VECEISED
MAINON -> DIERLABE
QUTECETE -> BIQULE
ESGELAGE -> ERCEA
ORTEVE -> VEXEINCE
ESBILEAT -> ANENER
TIESSOUS -> EDLA
MAMAUS -> ORRIASO
RIESONSO -> GEARGE
ZARIENLA -> LEORQU
RABI -> RESOINXE
XEISANAN -> ORATEDGE
SOGEES -> ERBERAOR
INREARBI -> RIBIGEUS
To show these routes clearly here is a version of the map where the new routes are in a slightly thicker yellow dashed line:
GALAXY 6 (v5 - new routes)
@Nemoricus: could you re-examine the map to see it this effects any of trade routes you put in or gives new possibilities?
Also I should now be able to put the "Anener Collective" back to the original size and shape I had it at.
Interestingly the world Leera which according to the wiki has a hub count of 17 still has the hub count of 15 which implies the wiki is definitely wrong in places (unless there is something else that I haven't taken into account).