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

Home » Public Forums » archive » Write a GeoTiff
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: Write a GeoTiff [message #88551 is a reply to message #88550] Mon, 12 May 2014 12:33 Go to previous messageGo to previous message
lhashemi is currently offline  lhashemi
Messages: 9
Registered: February 2014
Junior Member
On Monday, May 12, 2014 3:28:06 PM UTC-4, David Fanning wrote:
> lhashemi@g.harvard.edu writes:
>
>
>
>> I have an array and want to write the values to a geotiff. I have another GEOtiff file of the same area with exactly same dimension. I read this GEotiff and extracted its Geokey info (GeoKeys). I use this command to create a new Geotiif using this Geokey:
>
>>
>
>> TIFF_write, test.tiff, data ,GEOTIFF=GeoKeys
>
>>
>
>> I got this error message "Keyword FLOAT not allowed in call to: TIFF_WRITE", do you what is wrong with this?
>
>
>
> Haha! I'd try putting quotes around "test.tiff". That might help.
>
> Strange error message, though. :-)
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

Hi David,

Sorry, it has quotes around the file, when I delete ",/float, GEOTIFF=GeoKeys" it creats a tiff file which is not geo-referenced, and when I add "GEOTIFF=GeoKeys" (GeoKeys comes from another geotiff with same dimension), it gives this error: "Keyword GeoKeys not allowed in call to: TIFF_WRITE", any help highly appreciated.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to shade region of 2-D plot
Next Topic: Nearest-neighbor interpolation and steepest-descent method

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

Current Time: Wed Oct 08 20:07:00 PDT 2025

Total time taken to generate the page: 0.00504 seconds