kml files

Dec 13, 2007 at 5:02pm

kml files

hi,
google earth uses a special format to save geo information data (kml
files). I am trying to build a (simple) earth projector using jitter and
opengl and read these files (and also some other file types…)
The conversion should be easy, but precision might become a problem.
this is a shape in kml file format (longitude, latitude, height)

-112.3348783983763,36.1514008468736,100
-112.3372535345629,36.14888517553886,100
-112.3356068927954,36.14781612679284,100
-112.3350034807972,36.14846469024177,100
-112.3358353861232,36.1489624162954,100
-112.3345888301373,36.15026229372507,100
-112.3337937856278,36.14978096026463,100
-112.3331798208424,36.1504472788618,100
-112.3348783983763,36.1514008468736,100

the precision is 16 digits, so I guess double float. does anyonw know,
if opengl can handle that? or any quick ideas for how to approach that?
marius.

#34996
Dec 13, 2007 at 11:01pm

DATAS in jitter :
64-bit floating-point (known to programmers as a double-precision float, or double),
32-bit floating point (known simply as float),
32-bit integers (known as long int, or just int),
8-bit characters (known as char, 256 val max.).

it can help.

#118775

You must be logged in to reply to this topic.