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

Home » Public Forums » archive » Re: Adding a GEOTIFF header to a (large) TIF file
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: Adding a GEOTIFF header to a (large) TIF file [message #47595] Tue, 21 February 2006 22:26 Go to previous message
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
cminton@gmail.com wrote:
> Hello -- Long time reader, first time poster.
>
> I am having a problem that I can't seem to crack in IDL, hopefully
> someone can help.
>
> I have a (non-geo) TIFF to which I'd like to add georeferencing
> information. I can create the GEOTIFF structure, all ready for passing
> to WRITE_TIFF, but...
>
> My problem is that the TIFF file is too large for me to read/load into
> memory, so I can't use the WRITE_TIFF function (because I can't obtain
> the "Image" parameter in the IDL workspace.)
>
> I'm at a loss, and would appreciate any suggestions/ideas,
>
> --Carl Minton


Hi Carl,

Writing the result to disk is a bit tricky The simplest option would
be to dump the TIFF to generic binary and read it using the ASSOC()
function . Then you can treat it as a simple generic binary image
(without headers or anything) and use it in program to convert it to
TIFF again.

While writing Tiff file with ASSOC function you can give the Geotiff
Option.


Hope this helps,

Chintan
[Message index]
 
Read Message
Read Message
Previous Topic: Adding a GEOTIFF header to a (large) TIF file
Next Topic: Re: IDL java bridge on Windows

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

Current Time: Wed Dec 03 05:48:02 PST 2025

Total time taken to generate the page: 1.20167 seconds