On Mar 17, 4:06=A0pm, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
> David Fanning writes:
> > I suppose I could use the navigation data to establish
> > a limit for a map projection, but what map projection?
> > Satellite? Guess I could try it.
>
> OK, well, I'm in the ballpark with a satellite projection,
> but I'm guessing my satellite is not sitting directly
> over the center of my image. Where is it? How could I
> find out?
>
> =A0 =A0 ; IDL> help, image
> =A0 =A0 ; IMAGE =A0 =A0 BYTE [1200, 862]
>
> =A0 =A0 ; Corner points.
> =A0 =A0 ;IDL> print, peru_lat[0,0], peru_lat[0, 861],
> =A0 =A0 ; =A0 =A0 =A0 =A0 =A0 =A0peru_lat[1199, 861], peru_lat[1199,0]
> =A0 =A0 ; =A0 =A0 -19.4763 =A0 =A0 =A012.9533 =A0 =A0 =A012.9516 =A0 =A0
-=
19.4735
> =A0 =A0 ;IDL> print, peru_lon[0,0], peru_lon[0, 861],
> =A0 =A0 ; =A0 =A0 =A0 =A0 =A0 =A0peru_lon[1199, 861], peru_lon[1199,0]
> =A0 =A0 ; =A0 =A0 -99.3065 =A0 =A0 -98.2939 =A0 =A0 -51.8151 =A0 =A0
-50.8=
084
>
> =A0 =A0 ; right, top, left, bottom of image for LIMIT.
> =A0 =A0 ;IDL> print, peru_lat[0,431], peru_lat[600, 861],
> =A0 =A0 ; =A0 =A0 =A0 =A0 =A0 =A0peru_lat[1199, 431], peru_lat[600,0]
> =A0 =A0 ; =A0 =A0 -3.03467 =A0 =A0 =A012.7686 =A0 =A0 -3.03430 =A0 =A0
-19=
..1762
> =A0 =A0 ;IDL> print, peru_lon[0,431], peru_lon[600, 861],
> =A0 =A0 ; =A0 =A0 =A0 =A0 =A0 =A0peru_lon[1199, 431], peru_lon[600,0]
> =A0 =A0 ; =A0 =A0 -97.5755 =A0 =A0 -75.0291 =A0 =A0 -52.5294 =A0 =A0
-75.0=
302
>
> =A0IDL> Window, XSIZE=3D1200, YSIZE=3D862
> =A0IDL> Map_Set, -3.03449, -75.0296, /Satellite, SAT_P=3D[6.5,0.0,0.0],
$
> =A0 =A0 =A0 =A0 XMargin=3D0, YMargin=3D0, $
> =A0 =A0 =A0 =A0 LIMIT=3D[-3.0347, -97.5755, 12.7686, -75.0291, $
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-3.0343, -52.5294, -19.1762, -75.0302]
> =A0IDL> TVIMAGE, image
> =A0IDL> Map_CONTINENTS
> =A0IDL> MAP_GRID
>
> Folks, you *know* being just a little bit off drives me
> to crazy. Please help. I'm completely out of Xanax.
> All I have left is a box of Viagra, left over from
> Coyote's last tete-a-tete. :-(
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Se****e ma de ni thui. ("Perhaps thou speakest truth.")
Provide all for corners as 8 numbers in LIMIT will make some
improvements.
=46rom my experience, remapping provides the best results.
Kelly Dean
Fort Collins, CO


|