Daniele Romagnoli wrote:

Hi Bjorn,

On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell 
<[email protected]<mailto:[email protected]>> wrote:
Hey all,

I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL plugin. 
Anyone else experiencing the same?

I'm suspecting I need a specific version of the ECW SDK. Which version(s) of 
the ECW SDK is supported with image-ext 1.1.4?
> Supposing you have purchased an ECW license (which is mandatory to use it in 
> a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3.
We didn't test it with more recent version of it, yet.

> I think you could try with a more recent version of GDAL (we did some test 
> with 1.8.1 and 1.9.x) which may support that ECW version.
> Latest GDAL native libraries are available there:
> http://www.gisinternals.com/sdk/<http://www.gisinternals.com/sdk/>

> I see they have also provided some ECW plugin installer (I have never tried 
> them. They could be useful for your needs).
> Please, let us know.

I believe that those packages are compiled with ECW SDK 3.3, based on the 
information from
http://www.gisinternals.com/sdk/PackageInfo.aspx?file=release-1600-x64-gdal-mapserver.zip

Information may be old, though. If you want to know for sure, send mail to 
Tamas and ask. Problem with v. 4.2 is that ECW binaries cannot be delivered 
with the code because of the license, but every user must dowload them by 
himself from Erdas.

Some more reading about GDAL and ECW is here 
http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw

You may want to have a try by converting ECW images to tiled JPEG-in-tiff 
images with GDAL. Image size is about the same as with ECW, difference in 
quality is not huge and license problems are gone for ever. Commands to use 
(adapt parameters to suit your imagery):

gdal_translate -of GTiff -co tiled=yes  -co compress=jpeg -co photometric=YCBCR 
input.ecw output.tif

gdaladdo -r average  --config COMPRESS_OVERVIEW JPEG --config 
PHOTOMETRIC_OVERVIEW YCBCR  output.tif 2 4 8 16 32 64


-Jukka Rahkonen-

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to