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

Home » Public Forums » archive » How to extract Geokey & Geotag from GeoTiff 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: How to extract Geokey & Geotag from GeoTiff file [message #90591 is a reply to message #90590] Thu, 12 March 2015 09:21 Go to previous messageGo to previous message
dlopezaspe is currently offline  dlopezaspe
Messages: 10
Registered: October 2008
Junior Member
On Thursday, March 12, 2015 at 1:16:44 PM UTC-3, David Fanning wrote:
> dlopezaspe@gmail.com writes:
>
>>
>> On Thursday, March 12, 2015 at 12:45:10 PM UTC-3, David Fanning wrote:
>>> dlopezaspe@gmail.com writes:
>>>
>>>> I'm working with IDL 7.1 & GDAL 1.10, I need modify my older IDL script for write directly from IDL to geotif file... My problem can't know how extract Geokey & Geotag from GeoTiff file UTM projection 19 WGS-84....
>>>
>>> IDL> void = Read_TIFF('myTiffFile.tif', GEOTIFF=geoinfo)
>>> IDL> Help, geoinfo
>>>
>>> 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.")
>>
>> Thanks David!!!
>>
>> but something is wrong
>>
>>
>>
>> IDL> void = Read_TIFF('2000_clasif.tif', GEOTIFF=geoinfo)
>> % Loaded DLM: TIFF.
>> IDL> help, geoinfo
>> GEOINFO STRUCT = -> <Anonymous> Array[1]
>
> IDL> Help, geoinfo, /Structure
>
> 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.")

that's right

IDL> data_variable=READ_TIFF('/media/2tbdl/modis/mod13a3/raw/ndvi /monthly/tif/zonas/tif/2000_clasif.tif', GEOTIFF=GeoKeys)
IDL> HELP, GeoKeys, /STRUCTURE
** Structure <211cb98>, 9 tags, length=120, data length=114, refs=1:
MODELPIXELSCALETAG
DOUBLE Array[3]
MODELTIEPOINTTAG
DOUBLE Array[6, 1]
GTMODELTYPEGEOKEY
INT 1
GTRASTERTYPEGEOKEY
INT 1
GTCITATIONGEOKEY
STRING 'WGS 84 / UTM zone 19S'
GEOGCITATIONGEOKEY
STRING 'WGS 84'
GEOGANGULARUNITSGEOKEY
INT 9102
PROJECTEDCSTYPEGEOKEY
INT 32719
PROJLINEARUNITSGEOKEY
INT 9001

Thanks a Lot!!! David
I have nice day!!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting data over land surface and exclude data over ocean in IDL
Next Topic: Advice on using julian day with the image function?

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

Current Time: Wed Oct 08 18:15:36 PDT 2025

Total time taken to generate the page: 0.00458 seconds