[gdal-dev] flipped

Dshah divxtamana at gmail.com
Fri Nov 1 02:35:15 PDT 2019


I found there is an option WRITE_BOTTOMUP  available for gdal_translate ,
Looking for alternative in C++

On Fri, Nov 1, 2019 at 11:24 AM Dshah <divxtamana at gmail.com> wrote:

> @Mateusz thanks for the answer, so it is set by GDAL to open data flipped?
>
> On Fri, Nov 1, 2019 at 9:33 AM Mateusz Loskot <mateusz at loskot.net> wrote:
>
>> On Fri, 1 Nov 2019, 07:10 Dshah, <divxtamana at gmail.com> wrote:
>>
>>> Greetings,
>>>
>>> When I GDALOpen a .tif image and write a new one, the new image is
>>> flipped upside down? could someone please help?
>>>
>>>     const char *pszFilename = "im.tif";
>>>     poDataset = (GDALDataset *)GDALOpen(pszFilename, GA_ReadOnly);
>>>
>>
>>
>> Write it down siden up, perhaps.
>>
>> Mateusz Loskot, mateusz at loskot.net
>> (Sent from mobile, may suffer from top-posting)
>>
>> p.s. Crystal sphere temporarily broken
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191101/65b01512/attachment.html>


More information about the gdal-dev mailing list