Hexagon Geospatial

Spatial Modeler Q&A

Learn more about our products, find answers, get the latest updates, and connect with other Hexagon Geospatial product users, or get support from our professional service team.
Showing results for 
Search instead for 
Do you mean 

ECW output in Spatial Modeler

by mvardovs on ‎08-23-2016 02:11 AM - edited on ‎08-25-2016 06:50 PM by sbent (800 Views)


When outputting to ECW format using the Raster Output operator in a spatial model the output ECW raster image appears more degraded then exporting an ECW raster image with the Export ECW Data tool in ERDAS IMAGINE.




The ECW compressor requires statistics information for the input image in order to scale the compression appropriately. With the Export ECW Data tool this is not a problem because the statistics information is available in the input image file for the ECW SDK to use. However when outputting to ECW format using the Raster Output operator in a spatial model there is no file available yet and therefore no statistics information. So the results of the two methods for creating an ECW raster image will be different.


The solution is to place a Statistics operator immediately prior to the Raster Output operator and have the Raster Output operator fed by the Raster Out port of the Statistics operator. That should provide the necessary statistical information the ECW SDK requires to more effectively compress the output file.




ECW settings (ECW version, compression level, etc.) can be changed in IMAGINE Preference Editor.


2016-08-24 12_06_07-Preference Editor.png