Skip to main content
Solved

How to report on compression method used in a GeoTiff?


nicholas
Contributor
Forum|alt.badge.img+13

I am building a workbench that has a GeoTiff Reader, and uses the RasterPropertyExtractor and CoordinateSystemExtractor transformers to report on various qualities of the input image. The bounds, the cell sizes, etc.

I am hoping for a transformer that reports on the compression method of the input image. LZW or JPEG or something else?

Something similar to CoordinateSystemExtractor but instead a CompressionExtractor

Best answer by takashi

Hi ​@nicholas ,

GeoTIFF reader reads the compression method as a format attribute called “geotiff_compression_method”, if the source GeoTIFF file was compressed.

 

View original
Did this help you find an answer to your question?

2 replies

takashi
Influencer
  • Best Answer
  • May 29, 2025

Hi ​@nicholas ,

GeoTIFF reader reads the compression method as a format attribute called “geotiff_compression_method”, if the source GeoTIFF file was compressed.

 


nicholas
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • June 3, 2025

Thankyou ​@takashi 

I took your advice.

I also added a NulAttributeMapper for those cases when the image is not compressed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings