[gdal-dev] https://stackoverflow.com/questions/61342237/gdal-translate-missing-spatial-reference-system

Laurynas Gedminas laurynasgedminas at gmail.com
Tue Oct 27 06:31:40 PDT 2020


OK, so the issue was related on the GDAL 3.0.2  not able to read raster
spatial reference,
downgraded my installation to 2.4.1 GDAL and the the code:
translateoptions = gdal.TranslateOptions(gdal.ParseCommandLine("-co
TILED=YES -co COMPRESS=JPEG -co JPEG_QUALITY=100 -a_nodata none -co
INTERLEAVE=BAND -scale -ot Byte"))
gdal.Translate(out_img, in_ds, options=translateoptions)

Worked just fine,
Thank you,
Laurynas

On Thu, Oct 22, 2020 at 1:25 PM Laurynas Gedminas <
laurynasgedminas at gmail.com> wrote:

> Here are the correct posts links:
>
> I am using the Python GDAL 3.0.2,
> facing the issue with the gdal.translate, posted question here as well:
> https://stackoverflow.com/questions/64484225/gdal-translate-with-projection
>
> and this person seems to have the same issue:
>
> https://stackoverflow.com/questions/61342237/gdal-translate-missing-spatial-reference-system
>
> Thank you,
> Laurynas
>
> On Thu, Oct 22, 2020 at 11:15 AM Laurynas Gedminas <
> laurynasgedminas at gmail.com> wrote:
>
>> I am using the Python GDAL 3.0.2,
>> facing the issue with the gdal.translate, posted question here as well:
>>
>> https://stackoverflow.com/questions/64484225/gdal-translate-with-projection
>>
>> and this person seems to have the same issue:
>>
>> https://stackoverflow.com/questions/64484225/gdal-translate-with-projection
>>
>> Thank you,
>> Laurynas Gedminas
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201027/a67d6ec7/attachment.html>


More information about the gdal-dev mailing list