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

Home » Public Forums » archive » Re: Image Warp Success?
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 Warp Success? [message #69731 is a reply to message #69730] Tue, 09 February 2010 13:16 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Feb 9, 6:52 pm, David Fanning <n...@dfanning.com> wrote:
> My inability to get a reasonable result with MAP_PROJ_IMAGE
> has turned out to be at least partly due to an incredibly
> embarrassing error in my MapCoord object, which I use to
> work around many of the reentrant limitations of the
> MAP_PROJ_*** routines.
>
> If the desired map projection was passed into the object
> as a string (e.g., 'UTM') rather than as an index
> (e.g., 101), then the wrong map projection information
> was saved in the object. I rarely use map projection
> names, which is probably why it took me so long to discover
> this grievous error. :-(

I think I ran into that problem yesterday, but I thought it was
because I did not know the right way to use mapcoord. Since the result
kept showing the default projection, I changed from setting it by name
to setting it by number.

Also, I noticed that if I give a sphere_radius to
mapcoord::setmapprojection, I get a

% Tag name DATUM is undefined for structure MAPCOORD.

from the line (in the version I have, 628)
self.datum.semimajor_axis = sphere_radius

Which looked to me like it should have self.thisdatum, instead of
self.datum. Or was I not using it right?

Anyway, Catalyst is much appreciated. It made my widget programs much
nicer, and my life much easier.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simultaneous write on textfile over NFS
Next Topic: Re: dereference with wildcard

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

Current Time: Wed Oct 08 17:51:03 PDT 2025

Total time taken to generate the page: 0.00387 seconds