comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Image Overlays on Google Earth with KML Files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Image Overlays on Google Earth with KML Files [message #81856] Thu, 01 November 2012 11:19 Go to previous message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
Nata writes:

> I am glad that my question has inspired you...
>
> I found a very good library to create KML files in IDL. I didn't start using it but it seems very complete to me. Take a look :
>
> http://code.google.com/p/kdm-idl/

Yes, I used many of the ideas in this library for my own code.
It had a few too many dependencies for me, and too little
documentation. But, it looks very complete. And I can certainly
appreciate what a lot of work went into it.

> One question I have is about the projection... In your code your are projecting everything to an Equirectangular projection. Is this the Google Earth exact "projection"?

I don't know what you mean by "exact" projection. But, yes, this is
the projection Google Earth uses. The cgImage2KML program converts
from whatever projection your image is using to this projection before
it creates the PNG file that is placed on Google Earth.

> I am asking this because I have found some differences between the IDL Mercator projection and the projection used by Google Maps (that is also Mercator). I don't exactly know the reason but if I want precision of meters I have to use my own code to project things.

If you are talking about the Mercator projection that is set up
with MAP_SET, then you are certainly correct. This map projection
is wrong. I have experienced no such problem with the Mercator
projection set up with Map_Proj_Init, and these GCTP projections
are the only ones used by cgMap, my map coordinate object, which
is what I use for ALL of my map projection work.

Cheers,

David
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLffDicom::GetValue
Next Topic: Re: a behemoth bubble sort

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:30:57 PDT 2025

Total time taken to generate the page: 0.15928 seconds