Kwon-Taeho / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

GE loosing precision in lang <= -100, result is rugged arcs #379

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which products are affected?

Google Earth 

What steps will reproduce the problem?
1. draw some arcs/circles in kml and load it as a layer in
google earth. In the eastern US you get quite perfect arcs but in
the west the edges are rugged. 
2. In smaller scale you draw more rugged
arcs you get.  

What is the expected output or behavior? What do you see instead?

smooth edges all around the globe

What application versions (if any) are you using?

GE 6 Windows, Google Earth 5.2.1.1588 Linux

Which operating systems (and/or relevant web browsers) are affected?

Windows, Linux

Please provide any additional information (code snippets/links) below.

There is no difference in using double or float type (C++). The mysterious 
border between rugged and smooth arcs is longitude -100. Because that is one 
number more than -99 and other bigger well working longitudes I think the 
problem is you guys in Google are using float instead of double and are loosing 
precision. Could you please fix it?

Original issue reported on code.google.com by jba...@newfieldwireless.com on 23 Mar 2011 at 5:54

Attachments: