Re: Display and Navigate Image in IDL 8.2 [message #81308 is a reply to message #81306] |
Fri, 07 September 2012 07:46   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
Le vendredi 7 septembre 2012 16:05:02 UTC+2, David Fanning a écrit :
> alx writes:
>
>
>
>> Now I did not succeed with the BOX_AXES keyword. I leave that for your exercizing ...
>
>
>
> Oh, yeah. I got carried away. Yes, I can't get box axes on my
>
> map projection. ;-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
> I can display an image. And I can set up a proper map
> projection with the Map_Proj_* routines. I just can't
> use the two together in a graphics window!
Yes, I guess that you can !
If you got an image from Google which is properly rectified, you do not need for any further map projection, as far as the axis labeling is in meter/kilometer.
If now you want axes graduated in longitude/latitude, you only need for a projection tool in order to manage the scaling which is (slightly in your case) not linear.
I suppose that 'map_proj_init'/'map_proj_inverse' is what you can use. Then you can add axes with the proper labeling. This is likely what MAP_PROJECTION is doing for you in the IMAGE function! Is'nt it ?
Maybe what I say is pure non-sense, because I am not a specialist of mapping.
I am just a scientist who *needs* for clever and efficient programming tools, what IDL still is, I guess, in spite of some irritating and uncorrected lack for a serious (i.e. usable) documentation.
Alain.
|
|
|