[gdal-dev] TIFF with different KEYS_DS

Jorge jormarfe at gmail.com
Wed May 25 12:42:27 EDT 2011


Sorry for my previous mail. 

I have written a new TIFF file without using he function TIFFRewriteDirectory() but gdal said that there is not RPC metadata inside.

I opened the TIFF file with a tiff metada viewer and it shows that there is a tag with number 50844 and length 92. I do not know why gdal is not extracting rpc info. Is well implemented the function that extracts the rpc info with gdal?

Many thanks!!!


El 25/05/2011, a las 18:32, Jorge <jormarfe at gmail.com> escribió:

> 
> Hello Frank,
> 
> I have 
> 
> 
> Best Regards,
> 
> Jorge
> 
> 
> El 25/05/2011, a las 14:27, Frank Warmerdam <warmerdam at pobox.com> escribió:
> 
>> On 11-05-25 03:49 AM, Jorge Martin wrote:
>>> Hello Frank,
>>> 
>>> I am trying to test my implementation using GDAL (GDALExtractRPCInfo), but I do
>>> not get any RPC info from my TIFF file. I have pasted below the code I have
>>> used to set/read and test the RPCCoefficientTag managment.
>> ...
>>>  TIFFRewriteDirectory(tiff);
>> 
>> Jorge,
>> 
>> I'd take up your ENVI RPC support question with the vendors of the ENVI
>> software.
>> 
>> As to why you aren't seeing the RPCs, I am suspicious of the use of
>> TIFFRewriteDirectory() - I have found it quirky to use in the past
>> though I don't recall the details.  I'd start testing the RPC support
>> with a newly written file, instead of trying to update an existing file
>> in place.
>> 
>> Best regards,
>> -- 
>> ---------------------------------------+--------------------------------------
>> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
>> light and sound - activate the windows | http://pobox.com/~warmerdam
>> and watch the world go round - Rush    | Geospatial Programmer for Rent
>> 


More information about the gdal-dev mailing list