斯潘8
斯潘4
Hello,
我有300多个TIFF文件,我需要将它们合并为1个TIFF/ECW文件…Is there any way how to merge them please?
Thank You so much
鲁博
There are (at least) two ways to convert a single-band raster into a multi-band raster.
如果现有波段代表已知颜色,强制(强制)现有的色带为互补色,并添加剩余的两个色带。此示例采用灰度带并将其转换为青色3波段光栅:
另一种解决方案是复制三份灰度带,强制每个设置为红色/绿色/蓝色,然后将它们组合为一个3波段光栅:
This will preserve the grayscale (unless there are palettes involved,在这种情况下,您可以使用Rasterpaletteresolver直接转换为RGB)。
@戴维德谢谢你的小费!今天早上我想用流氓强迫症,but log shows me,我不能用这个变压器和变压器光栅…Take a look below please:
@重新解释转发器:在波段模式下,if selected bands contain palettes then the requested interpretation may only be one of 'UINT8,UIT16UIT32
2016-07-22 15:16:30 0.8 0.0错误RasterbandInterpretationDescener:发生致命错误。Check the logfile above for details
尝试在Rastermosaicker之前添加RasterSelector。
如果还不够的话,then your rasters differ too much to mosaick as-is,and you'll need to do some pre processing.
相关变压器可以是RasterpropertyExtractor,check exit attribute _num_bandsin particular,对于所有的输入光栅来说应该是相同的。If necessary,看看Rasterbandadder,Rasterband去除剂,etc.
@戴维德好主意,谢谢您,it works to define,which raster has one or three bands.不管怎样,由于磁盘空间不足,进程被停止。我想通过Rastermosaicker合并大约250 geoTIFF rasters into one ECW file.每个光栅都是90MB大,我的光盘上有60GB的可用空间。Approx.创建10%的ECW文件后,由于磁盘上没有空间,进程将停止。I checked it,FFS文件超过50 GB!Is there any possibility to stop exporting of FFS or any possibility to compress this file?
非常感谢!
GeoTIFFs are usually compressed with a very efficient compression algorithm,但是当例如FME wants to mosaick the files it needs to uncompress them and work with the raw data,这会导致巨大的临时文件。This goes even if you intend to write it back into another format that supports compression,比如ECW。
也,consider not only getting more disk space,但也使用64位版本的FME执行此任务。
但另一个注意事项是:即使您要设法创建这个庞大的ECW光栅,are you sure that your target application will handle it well?
你说得对。在这种情况下,我可能会用这种方式:https://knowledge.亚搏在线safe.com/articles/176/fme-temp-environment-variable.html网站...我使用64位版本的FME,but will connect external disk to get more space.目标应用程序一次使用2TB光栅,所以它应该做得对:-)
@戴维德Yes,it works,but I need the new three band raster (RGB) has the same values like single band raster (source).If I add new three band - red,绿色,blue nad then remove UINT8 band (to be able to connect raster to rastermosaicker),then raster is whole black.我所需要的就是用同样的可视化效果从单波段光栅创建三波段光栅。Is there any possibility please?
你看过拉斯特莫萨克星吗?
@戴维德谢谢你的小费!但是如果翻译失败是因为波段号不同呢?我能在故障模式分析中解决这个问题吗?请查看以下日志文件中的图片:
原木:
2016-07-22 08:45:42| 29.4| 0.2|ERROR |RasterMosaicker(RasterMosaicFactory): All input rasters must have the same number of selected bands.光栅“80”具有选定的“1”条带,但是镶嵌的光栅“0”选择了“3”个带
2016-07-22 08:45:43 30.0 0.6错误发生致命错误。Check the logfile above for details
2016-07-22 08:45:43 30.0 0.0错误|
?2019安全亚搏在线软件公司|合法的