|
|
Re: Run envi routine in IDL Virtual MAchine [message #73997 is a reply to message #73996] |
Tue, 14 December 2010 03:26  |
rogass
Messages: 200 Registered: April 2008
|
Senior Member |
|
|
On 13 Dez., 10:32, Klemen <klemen.zak...@gmail.com> wrote:
> Hi, I am using some of ENVI routines in my IDL tool for terrain
> visualization. As far as I understood it is impossible o make a
> version that functions in the IDL virtual machine - or am I wrong - is
> there a way?
>
> The ENVI routines I am using are:
> envi_get_data
> envi_get_projection
> envi_get_map_info
>
> They make possible to read most georeferenced data. Especially the
> first one is important because I have to read data somehow into IDL.
> But I can make output without specifying the exact projection,
> ellipsoid and geodetic datum; coordinates and resolution are
> necessary. Thus ne second and the third routine are not so importnat.
>
> Are the perhaps any IDL routines that can be used to read
> georeferenced data in various formats (e.g GEOTIF, Imagine IMG, ESRI
> ArcGrid, MrSID, etc.).
>
> Cheers, Klemen
Hi Klemen,
you cannot use ENVI routines within the VM, but you can import and
export Geotiff with full mapinfo by write_tiff. Nevertheless, it's not
a big deal to write and to read envi files since there are hdr-files
where all the information,e.g., mapinfo is included. Reading and
writing can be performed by using openr or by openw and writeu.
Cheers
CR
|
|
|