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

Home » Public Forums » archive » Question about projection for Google Earth
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: Question about projection for Google Earth [message #85459 is a reply to message #85455] Fri, 09 August 2013 03:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
timothyja123@gmail.com writes:

> Thanks for the reply. I have already tried to use your procedure however I ran into a problem I wasnt sure how to solve. Your procdure takes an image as an argument which is fine as I can use the image produced by my existing code.
> However I then need to supply a map coordinate object (cgMap) from which map projection information and map boundaries for the image overlay can be obtained.
>
> The problem is that your cgMap function says: "Only GCTP projections are allowed. If you wish to use projections normally set up with Map_Set, use the comparable cgMap_Set command. "
> But that command does not produce the cgMap object that I need for cgImage2KML.
>
> I'm most likely missing something obvious (as I said I'm new to projections and mapping).
>
> I tired using a map_set projection that had a matching GCTP projection MILLER_CYLINDRICAL and using the produced image with cgImage2KML but this didnt seem to work.

The map coordinate object cgImage2KML needs is the one that describes
the image you are trying to display. This image will then be warped into
the map projection required for display on Google Earth. From your
previous post, I assume you would make the map coordinate object like
this:

;;;mapStruct = MAP_PROJ_INIT( 117 , /GCTP, limit=limit)
mapCoord = cgMap(117, /GCTP, LIMIT=limit)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Keyword UNAME not allowed in call to: CW_FSLIDER
Next Topic: parallel sign in postscript output in device fonts (direct graphics)

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

Current Time: Wed Oct 08 19:27:21 PDT 2025

Total time taken to generate the page: 0.00435 seconds