[gdal-dev] Can't read transformation coefficients from tiff

Chaitanya kumar CH chaitanya.ch at gmail.com
Thu Apr 7 05:51:19 EDT 2011


Chris,

Can you provide the gdalinfo output of the geotiff?

On Thu, Apr 7, 2011 at 2:29 PM, Goo Creations <goocreations at gmail.com>wrote:

> I've worked through some QGis code and noticed that if this happens,
> GDALAutoCreateWarpedVRT is called on the image to create a copy. So
> GDALAutoCreateWarpedVRT somehow retrieves some sort of metadata to
> accomplish this.
>
>
>
>
> On Thu, Apr 7, 2011 at 10:44 AM, Goo Creations <goocreations at gmail.com>wrote:
>
>> A couple of different apps, such as QGis and Monteverdi (who rotated the
>> image). If I view the image in a normal image viewer (or application not
>> built on top of GDAL, the image is not rotated). Hence there must be some
>> metadata from GDAL these applications use to rotate the image.
>>
>> And yes, I can read other metadata.
>>
>> Chris
>>
>>
>>
>>
>> On Thu, Apr 7, 2011 at 10:34 AM, Chaitanya kumar CH <chaitanya.ch@
>> gmail.com> wrote:
>>
>>> Chris,
>>>
>>> What did you use to view the image? Were you able to read any other Geo
>>> related data with that?
>>>
>>> On Thu, Apr 7, 2011 at 1:56 PM, Goo Creations <goocreations at gmail.com>wrote:
>>>
>>>> Hi all
>>>>
>>>> I tried to read the transformation coefficients by using
>>>> GDALDataset::GetGeoTransform. This function however returned CE_Failure, so
>>>> i assume that the values are not stored in the metadat.
>>>> When I view the image, the image is rotated. There is no world file or
>>>> anything that could cause the rotation.
>>>>
>>>> So my question: If these values are not stored in the metadata, how does
>>>> GDAL handle the rotation, pixel size, etc?
>>>>
>>>> Chris
>>>>
>>>>
>>>> _______________________________________________
>>>> gdal-dev mailing list
>>>> gdal-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Chaitanya kumar CH.
>>> /tʃaɪθənjə/ /kʊmɑr/
>>> +91-9494447584
>>> 17.2416N 80.1426E
>>>
>>
>>
>


-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110407/98ac5bfe/attachment.html


More information about the gdal-dev mailing list