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

Home » Public Forums » archive » Re: Geographic Lat/Lon
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: Geographic Lat/Lon [message #59896 is a reply to message #59895] Fri, 11 April 2008 14:39 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
robinson.inj@gmail.com wrote:
> On Apr 11, 1:13 pm, d.po...@gmail.com wrote:
>> On Apr 11, 7:14 pm, robinson....@gmail.com wrote:
>>
>>> Dear all,
>>> I was wondering if someone could suggest me how to specify the
>>> following ENVI information in IDL:
>>> map info = {Geographic Lat/Lon, 1.0000, 1.0000, -130.54072891,
>>> 40.00000000, 4.8112599312e-003, 4.8112599312e-003, WGS-84,
>>> units=Degrees}
>>> I need to create lats and lons grids for the "Geographic Lat/Lon"
>>> projection and they must give me the same geolocation for each pixel
>>> as ENVI does. I am using IDL 6.3
>>> Thanks
>>> Robinson
>> call envi_convert_file_coordinates, fid, X,Y, lat,long (with NO
>> keyword), which will change your lat-long to the corresponding pixel
>> row
>> and column on your image.
>
> Thanks. But I need to use just IDL no ENVI procedures :-(

what do you want to do exactly?

If you are creating an image, you can just put the map info into the
header file... Make sure to properly write the number of col and rows,
add the map info, and your output will be automagically georeferenced!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interpolation
Next Topic: SHADE_VOLUME and getting disconnected meshes.

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

Current Time: Sat Nov 29 23:39:54 PST 2025

Total time taken to generate the page: 0.80191 seconds