You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load a SOTAREF into the Details->SOTA field QLog fills in the Gridsquare field. For example, if I enter "F/PO-001" the Gridsquare field is correctly populated with "IN92WS".
However, when I enter e.g. "G/SC-001" the Gridsquare is incorrectly populated with "JJ00AA". This corresponds to lat = lon = 0.0, so is clearly an error. For this example the correct value would be "IO81ED". This applies to all summits which use the British and Irish grids (G, GD, GI, GM, GW and EI).
Why?
I suspect the cause might be data\Data.cpp lines 860-861:
For most summits in SOTA's summitslist.csv download latitude and longitude are duplicated into gridref1 and gridref2. But for G & EI summits gridref1 contains the alpha-numeric grid reference ("SS 891415" for the example) and gridref2 is blank. Therefore the toDouble() calls will fail. Perhaps also this will cause trouble in the database?
The text was updated successfully, but these errors were encountered:
Good analysis. Thanks for the info. I looked at it and I don't see why the British and Irish have something different than the rest of the world in Gridref1/2. All we have to do is switch to using Lat/Lon fields. Is it correct?
However, I performed a deeper analysis and found that sometimes the data in Gridref1/2 is more accurate than in Lat/lon. I'm a bit confused. What would you recommend? Is it sufficient to use Lat/Lon information? Or should something more complicated be implemented?
It seems that it is sufficient to use lat/lon information. I randomly selected cases of different information (gridref1/2 vs Lat/Lon) and the computed Grid was always the same.
Many thanks for fixing that. Yes, using the lat/lon fields is preferable.
The SOTA programme started out in Britain in 2002 using a 3rd-party list that had positions quoted according to the British Ordnance Survey grid. These were retained when other associations surveyed using lat/lon were added later. So it's just one of those historical accidents!
When I load a SOTAREF into the Details->SOTA field QLog fills in the Gridsquare field. For example, if I enter "F/PO-001" the Gridsquare field is correctly populated with "IN92WS".
However, when I enter e.g. "G/SC-001" the Gridsquare is incorrectly populated with "JJ00AA". This corresponds to lat = lon = 0.0, so is clearly an error. For this example the correct value would be "IO81ED". This applies to all summits which use the British and Irish grids (G, GD, GI, GM, GW and EI).
Why?
I suspect the cause might be
data\Data.cpp
lines 860-861:(but maybe elsewhere too?)
For most summits in SOTA's summitslist.csv download latitude and longitude are duplicated into gridref1 and gridref2. But for G & EI summits gridref1 contains the alpha-numeric grid reference ("SS 891415" for the example) and gridref2 is blank. Therefore the toDouble() calls will fail. Perhaps also this will cause trouble in the database?
The text was updated successfully, but these errors were encountered: