Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+1 vote
288 views

Here is an example 

 

 

 

Project gc has the last 3 numbers as 977, 128. The actual cache is 978, 129.

Why is this?

in Miscellaneous by MCL1080 (360 points)
Updated my answer with a solution.

1 Answer

+1 vote
 
Best answer
We have never received an example before, so haven't been able to look into this. Now we can.

But the reason is easy. We store the coordinates as "floats", ie decimals, 38.082967  -122.168817. This is most likely how Groundspeak stores them as well, but it seems like we are calculating or rounding differently.

It may also be that they store them as DD MM.MMM,  but we recieve them as DD.DDDDD. If that is the case, and that it has to be calculated and rounded twice, there will be an error in many cases.

EDIT: As a side-note, I agree with Groundspeak that their numbers are correct and ours are wrong. This will be solved, maybe even this week.

 

EDIT2: A fix has been applied in our DEV enviroment and will reach the live servers this week. We did not round the decimals. So N38 04.9779999 became .977 instead of .978.
by magma1447 (Admin) (242k points)
selected by MCL1080
Thanks for the quick answer and the quick fix. You guys are awesome, keep up the good work.
...