Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-25 Thread Jorge
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

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-25 Thread Jorge
Hello Frank, I have Best Regards, Jorge El 25/05/2011, a las 14:27, Frank Warmerdam 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

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-25 Thread Frank Warmerdam
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. ... TIFFRewriteDirect

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-25 Thread Jorge Martin
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. I am involved in a ESA project and my clients used to open the resul

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-24 Thread Jorge Martin
Many Thanks Frank, I have insert the RPCCoeffcientTag to the file. Is any comercial software that could read this TAG? In order to check the implementation I need open the file with a comercial software. I have tried with ENVI but it does not recognize the format. Best Regards, 2011

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-24 Thread Frank Warmerdam
On 11-05-24 07:35 AM, Jorge Martin wrote: Many thanks for your answers!!! Now I am developing a library that handles TIFF and geoTIFF, but I have noted that I need to include RPCCoefficientTag to the TIFF file. Searching on the internet I have found that this tag is not suported by geoTIFF spec

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-24 Thread Jorge Martin
Many thanks for your answers!!! Now I am developing a library that handles TIFF and geoTIFF, but I have noted that I need to include RPCCoefficientTag to the TIFF file. Searching on the internet I have found that this tag is not suported by geoTIFF spec 1.0, it is only suported by gdal. Is this tr

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-17 Thread Frank Warmerdam
On 11-05-17 07:54 AM, Jorge Martin wrote: Hello Frank, I am reading libtiff manual and it is possible to write different IFD (directories, I do not know the correct word) in the same tiff file using *TIFFWriteDirectory *function. Is it possible to use it in gdal library? Jorge, While in the

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-17 Thread Jorge Martin
Hello Frank, I am reading libtiff manual and it is possible to write different IFD (directories, I do not know the correct word) in the same tiff file using *TIFFWriteDirectory *function. Is it possible to use it in gdal library? Many thanks, Jorge 2011/5/17 Jorge Martin > Hello Frank, > >

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-17 Thread Jorge Martin
Hello Frank, TIFF 6.0 specifications has a sub-section in page 16 which is called "Multiple Image per TIFF file" and there is only a description of this issue but anything about its implementation: "There may be more than one IFD in a TIFF file. Each IFD defines a subfile. One potential

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Frank Warmerdam
On 11-05-16 07:08 PM, Jorge wrote: Hello, Many thanks for your help, but if I want to generate a tiff file which contains multiples images, How I can do it using gdal? because I know that tiff standard allows to generate multiple images in a single tiff file. Jorge, I have skimmed the GeoTIF

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Jorge
Hello, Many thanks for your help, but if I want to generate a tiff file which contains multiples images, How I can do it using gdal? because I know that tiff standard allows to generate multiple images in a single tiff file. Best regards, Jorge El 16/05/2011, a las 18:52, Chaitanya kumar CH

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Chaitanya kumar CH
Jorge, You can set and retrieve metadata items from a TIFF dataset (TIFF file) using the methods documented in http://www.gdal.org/classGDALMajorObject.html On Mon, May 16, 2011 at 9:32 PM, Jorge Martin wrote: > Hello, > >I am interested in writing different Keys_DS in the same TIFF fil

[gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Jorge Martin
Hello, I am interested in writing different Keys_DS in the same TIFF file using gdal library. I only know how to write one Key_DS but I do not know how to include more than one KEY_DS, and I know that TIFF standard allow it. Does anyone know how to implement it with gdal library? Many Tha