[gdal-dev] Creating a GeotTIFF in big endian order?

Even Rouault even.rouault at spatialys.com
Thu Apr 22 04:21:06 PDT 2021


Hi Andrea,

There's an option for that, but it's undocumented as mostly only useful 
for debugging / unit testing

Use the GDAL_TIFF_ENDIANNESS = BIG configuration option

Like in:

gdal_translate ../autotest/gcore/data/byte.tif wrk/out.tif --config 
GDAL_TIFF_ENDIANNESS BIG

Even

Le 22/04/2021 à 12:59, Andrea Aime a écrit :
> Hi,
> in order to write some tests, I would like to create a 32bit GeoTIFF 
> in big endian order.
> I looked at gdal_translate generation operations, and the GeoTIFF 
> creation options, but could not find
> a suitable option.
>
> Did I overlook something?
>
> Cheers
> Andrea
>
> == GeoServer Professional Services from the experts! Visit 
> http://goo.gl/it488V <http://goo.gl/it488V> for more information. == 
> Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di 
> Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 
> 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 
> <http://www.geo-solutions.it> http://twitter.com/geosolutions_it 
> <http://twitter.com/geosolutions_it> 
> ------------------------------------------------------- /Con 
> riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si 
> precisa che ogni circostanza inerente alla presente email (il suo 
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è 
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il 
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra 
> operazione è illecita. Le sarei comunque grato se potesse darmene 
> notizia. This email is intended only for the person or entity to which 
> it is addressed and may contain information that is privileged, 
> confidential or otherwise protected from disclosure. We remind that - 
> as provided by European Regulation 2016/679 “GDPR” - copying, 
> dissemination or use of this e-mail or the information herein by 
> anyone other than the intended recipient is prohibited. If you have 
> received this email by mistake, please notify us immediately by 
> telephone or e-mail./
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210422/d1755bd0/attachment.html>


More information about the gdal-dev mailing list