Skip to main content
Solved

I cannot make a geotif without jpeg compression

  • February 3, 2021
  • 2 replies
  • 117 views

koenvdw
Contributor
Forum|alt.badge.img+6

Hi

 

I have a lot of small geotif tiles. I need to mosaic them together as geotif in specific zones.

 

I tried the standard compression which is jpeg. The problem is that some zones are to large for the compression method.

I get this error:

 

"GEOTIFF writer: Failed to write the output file using JPEG compression. The raster is being written with a tile size of '29005' rows by '82874' columns, whereas the maximum number of rows or columns that JPEG compression can handle is 65500. Please reduce the tile size if writing a tiled file, or reduce the size of the raster"

 

So I'm thinking I only need to change the compression method.

I tried all the other compression methods and I always get the same warning:

 

"GEOTIFF writer: Existing value for creation option 'INTERLEAVE' was 'BAND'. Overwriting with the new value 'PIXEL'

GEOTIFF writer: Existing value for creation option 'COMPRESS' was 'NONE'. Overwriting with the new value 'JPEG'"

 

Followed with the same error mentioned above.

 

So I'm clearly doing something wrong as I would be very supprised that FME makes all the other options available if they wouldn't work.

 

Is there a workaround?

Best answer by daveatsafe

Hi @koenvdw​ ,

 

There might be format attributes from the source GeoTIFF files that are overriding the settings on the writer. Please use a BulkAttributeRemover transformer to remove any attributes starting with 'geotiff_'

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

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • March 11, 2021

Hi @koenvdw​ ,

 

There might be format attributes from the source GeoTIFF files that are overriding the settings on the writer. Please use a BulkAttributeRemover transformer to remove any attributes starting with 'geotiff_'


koenvdw
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • October 5, 2021

Sorry for the long wait, but this works great.


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