| Desactivate “TIFF World File Input Projection” dialog [message #69883] |
Tue, 02 March 2010 04:00  |
txominhermos
Messages: 25 Registered: October 2005
|
Junior Member |
|
|
I am working on a batch in ENVI+IDL code which reads georeferenced
images (ENVI supported images) using:
envi_open_file, fname, r_fid=fid, /NO_INTERACTIVE_QUERY, /NO_REALIZE
the problem comes when I try to open geoTIFF images with a spatial
reference system (ETRS89 / UTM zone 30N, EPSG:25830). Then, the “TIFF
World File Input Projection” dialog appears. Is there any way to avoid
that window or catch the error that makes this window come up?
Thank your very much
Txomin
|
|
|
|
| Re: Desactivate “TIFF World File Input Projection” dialog [message #70018 is a reply to message #69883] |
Wed, 10 March 2010 09:29   |
Robert Moss, PhD
Messages: 29 Registered: November 2006
|
Junior Member |
|
|
On Mar 8, 3:03 am, txominhermos <txominher...@gmail.com> wrote:
> I am working on a batch in ENVI+IDL code which reads georeferenced
> images (ENVI supported images) using:
>
> envi_open_file, fname, r_fid=fid, /NO_INTERACTIVE_QUERY, /NO_REALIZE
>
> the problem comes when I try to open geoTIFF images with a spatial
> reference system (ETRS89 / UTM zone 30N, EPSG:25830). Then, the “TIFF
> World File Input Projection” dialog appears. Is there any way to avoid
> that window or catch the error that makes this window come up?
>
> Thank your very much
One way would be to create a TIFF World File for the images you are
trying to reads in. I'm guessing they do not have one handy.
r
|
|
|
|
| Re: Desactivate “TIFF World File Input Projection” dialog [message #70113 is a reply to message #70018] |
Wed, 10 March 2010 19:52  |
jeffnettles4870
Messages: 111 Registered: October 2006
|
Senior Member |
|
|
On Mar 10, 12:29 pm, Robert Moss <robert.m...@gmail.com> wrote:
> On Mar 8, 3:03 am, txominhermos <txominher...@gmail.com> wrote:
>
>> I am working on a batch in ENVI+IDL code which reads georeferenced
>> images (ENVI supported images) using:
>
>> envi_open_file, fname, r_fid=fid, /NO_INTERACTIVE_QUERY, /NO_REALIZE
>
>> the problem comes when I try to open geoTIFF images with a spatial
>> reference system (ETRS89 / UTM zone 30N, EPSG:25830). Then, the “TIFF
>> World File Input Projection” dialog appears. Is there any way to avoid
>> that window or catch the error that makes this window come up?
>
>> Thank your very much
>
> One way would be to create a TIFF World File for the images you are
> trying to reads in. I'm guessing they do not have one handy.
>
> r
I think actually he's getting this dialog box b/c there is already a
world file present, and envi is trying to figure out which projection
goes with the coordinates in the world file. I'm just not sure about
how to suppress that message. One option is of course to read the
file with read_tiff, but a lot of the envi routines need an fid, so
reading the data into memory might be something the OP is looking to
avoid. I guess another (silly) way of getting around the message is
to rename the world file with some other extension before opening the
tiff, and then renaming the world file back to .tfw after the image is
opened. But my feeling is there's got to be a better way. You might
contact ITTVIS tech support about this. They may have an easy answer.
Jeff
|
|
|
|