[gdal-dev] Compiling ECW 3.3 on MacOSX

Even Rouault even.rouault at spatialys.com
Fri Jan 5 14:21:18 PST 2018


> Also do you think
> https://trac.osgeo.org/gdal/browser/branches/2.2/autotest/gdrivers/ecw.py
> is setup to test the 3.3 SDK nicely? If so I can verify the patch on LINUX
> and MacOSX with that.

The tests pass fine (*) for me on Linux with ECW SDK 3.3 + libecwj2-3.3.patch. No idea on Mac

(*) some are skipped since testing features / fixes of later SDK versions

Here's the output I get:

$ python ecw.py
  TEST: ecw_init ... success
  TEST: ecw_1 ... success
  TEST: ecw_2 ... success
  TEST: ecw_3 ... success
  TEST: ecw_4 ... success
  TEST: ecw_5 ... success
  TEST: ecw_6 ... success
  TEST: ecw_7 ... Warning 6: NITF only supports WGS84 geographic and UTM projections.

success
  TEST: ecw_8 ... success
  TEST: ecw_9 ... success
  TEST: ecw_10 ... success
  TEST: ecw_11 ... success
  TEST: ecw_12 ... success
  TEST: ecw_13 ... success
  TEST: ecw_14 ... success
  TEST: ecw_15 ... success
  TEST: ecw_16 ... success
  TEST: ecw_17 ... Diff at pixel (0, 0) : -5.000000
Diff at pixel (1, 0) : 1.000000
Diff at pixel (2, 0) : -2.000000
Diff at pixel (3, 0) : -1.000000
Diff at pixel (4, 0) : -3.000000
Diff at pixel (5, 0) : -3.000000
Diff at pixel (6, 0) : -1.000000
Diff at pixel (9, 0) : 2.000000
Diff at pixel (10, 0) : -3.000000
Diff at pixel (13, 7) : -6.000000
Max diff : 6
Number of diffs : 302
success
  TEST: ecw_18 ... success
  TEST: ecw_19 ... success
  TEST: ecw_20 ... success
  TEST: ecw_21 ... success
  TEST: ecw_22 ... success
  TEST: ecw_23 ... success
  TEST: ecw_24 ... success
  TEST: ecw_25 ... success
  TEST: ecw_26 ... success
  TEST: ecw_27 ... success
  TEST: ecw_28 ... success
  TEST: ecw_29 ... success
  TEST: ecw_30 ... success
  TEST: ecw_31 ... skip
  TEST: ecw_32 ... success
  TEST: ecw_33 ... success
  TEST: ecw_33_bis ... success
  TEST: ecw_34 ... skip
  TEST: ecw_35 ... success
  TEST: ecw_36 ... skip
  TEST: ecw_37 ... skip
  TEST: ecw_38 ... skip
  TEST: ecw_39 ... skip
  TEST: ecw_40 ... ERROR 1: An error has occurred: Error 86 "File is invalid or corrupt"  file "" 
line 0
ERROR 1: Cannot open data/stefan_full_rgba_ecwv3_meta.ecw which looks like a ECW 
format v3 file, that requires ECW SDK 5.0 or later
skip
  TEST: ecw_41 ... skip
  TEST: ecw_42 ... skip
  TEST: ecw_43 ... success
  TEST: ecw_44 ... skip
  TEST: ecw_45 ... success
  TEST: ecw_46 ... success
  TEST: ecw_47 ... skip
  TEST: ecw_48 ... success
  TEST: ecw_49 ... success
  TEST: ecw_online_1 ... success
  TEST: ecw_online_2 ... success
  TEST: ecw_online_4 ... As GDAL_DOWNLOAD_TEST_DATA environment variable is not 
defined, some tests relying on data to downloaded from the Web will be skipped
skip
  TEST: ecw_online_5 ... success
  TEST: ecw_online_6 ... success
  TEST: ecw_online_7 ... success
  TEST: ecw_cleanup ... success

Test Script: ecw
Succeeded: 46
Failed:    0 (0 blew exceptions)
Skipped:   12
Expected fail:0
Duration:  13.19s
As GDAL_DOWNLOAD_TEST_DATA environment variable is not defined, 1 tests relying on 
data to downloaded from the Web have been skipped



-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180105/86892c6a/attachment.html>


More information about the gdal-dev mailing list