简体   繁体   English

FME 不能在没有 jpeg 压缩的情况下制作 geotif

[英]FME cannot make a geotif without jpeg compression

I have a lot of small geotif tiles.我有很多小的 geotif 瓷砖。 I need to mosaic them together as geotif in specific zones.我需要将它们镶嵌在一起作为特定区域中的 geotif。

I tried the standard compression which is jpeg.我尝试了 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" “GEOTIFF 写入器:无法使用 JPEG 压缩写入输出文件。正在以 '29005' 行乘以 '82874' 列写入栅格,而 JPEG 压缩可以处理的最大行数或列数为 65500。如果写入平铺文件,请减小平铺大小,或减小光栅的大小"

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'" “GEOTIFF writer:创建选项‘INTERLEAVE’的现有值是‘BAND’。用新值‘PIXEL’覆盖 GEOTIFF writer:创建选项‘COMPRESS’的现有值是‘NONE’。用新值‘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.所以我显然做错了什么,因为如果 FME 使所有其他选项不起作用,我会非常惊讶。

Is there a workaround?有解决方法吗?

There might be format attributes from the source GeoTIFF files that are overriding the settings on the writer.源 GeoTIFF 文件中的格式属性可能会覆盖编写器上的设置。

Please use a BulkAttributeRemover transformer to remove any attributes starting with 'geotiff_'请使用BulkAttributeRemover transformer器删除以'geotiff_'开头的任何属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM