Closed Darkcyde13 closed 3 years ago
Ref. https://www.edsm.net/api-system-v1/stations?systemName=HIP%2019157
This is a consequence of EDSM using aliases rather than the same variable names given by the player journal (meaning that we aren't able to match the names and they default to Unknown). I'll catch up our internal definitions.
What's Wrong (please be as specific as possible)
Expected
The number of stations listed under
system.planetarystations
andsystem.orbitalstations
to be correct.Observed
The numbers do not correlate to the number of stations in a system.
Steps to reproduce
Configuration
My Investigation
Investigation Notes
I'd noticed this some time ago, and while it was annoying, it didn't really affect my play (and I kept forgetting to do anything about it). However, I've now got to the point where it's starting to irritate me, and now I need to "scratch the itch" so to speak.... AND I've finally remembered to report it! ;-)
So, I've looked into it. I can see that the
system.stations
is based off EDSM data (or it appears to be anyway), and this is correct for the number of stations listed on that site. However, EDSM is missing several stations for any system I've looked at while checking this out.When it comes to the number of
system.planetarystations
andsystem.orbitalstations
, there is a large discrepancy. Even taking the EDSM inaccuracy into account, the numbers are still way out. I've run some tests calculating ground and orbital stations, counting the types, etc., and I've found that EDDI seems to be counting the ground based 'Unknown Stations' as orbital stations instead of ground stations. Consequently, EDDI says there are way more orbital stations than there are, and way fewer ground stations.Take HIP 19157 for example...
system.stations
says there are 21, as does EDSM (which would make sense if the data is retrieved from there). However,system.planetarystations
says 1, andsystem.orbitalstations
says 15. With 5 'Fleet Carriers', that makes the 21.system.orbitalstations
comes from, plus 1 'Coriolis Starport' and 2 'Outposts' (making the 15).I get similar results from HIP 18843. Now, I know the number of Fleet Carriers are counted in
system.stations
, even though some have moved on and others have arrived, making the number incorrect in that respect. But even discounting this, the numbers are not accurate. I assume that getting the data from EDSM means that this will never be 100% accurate anyway.TLDR; It seems that 'Unknown Stations' are being counted as orbital stations, when they should be ground stations. Plus other stations seem to be missed out too, both ground and orbital (but I think that part is down to EDSM). To fix (as best as possible) 'Unknown Stations' need to be counted as the ground stations they are.
This is the code I've used to test out (please excuse the mess :-P ):
This is the output:
This is the list of stations in HIP 19157:
5 Fleet Carriers 12 Unknown Stations (ground stations according to EDSM) 1 Surface Station 1 Coriolis Starport 2 Outposts
EDDI Logs
N/A
Player journals
N/A