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

Home » Public Forums » archive » Desactivate “TIFF World File Input Projection” dialog
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Desactivate “TIFF World File Input Projection” dialog [message #69883] Tue, 02 March 2010 04:00 Go to next message
txominhermos is currently offline  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 Go to previous messageGo to next message
Robert Moss, PhD is currently offline  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 Go to previous message
jeffnettles4870 is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to display on the unix system
Next Topic: How to get the current working directory

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

Current Time: Fri Nov 28 09:03:13 PST 2025

Total time taken to generate the page: 0.57029 seconds