Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1574 closed bug (worksforme)

Displaying ECW raster images is very slow

Reported by: trapanator Owned by: warmerdam
Priority: major: does not work as expected Milestone: Version 1.2.0
Component: Rasters Version: Trunk
Keywords: ECW Raster Cc:
Must Fix for Release: Yes Platform: Windows
Platform Version: Awaiting user input: no

Description

Hi,

I have QGIS 1.0.1 for windows installed from OSGEO4W.

If I try to open a simple ECW (67 MB), QGIS is taking too long to open it (about 30-40 seconds). It seems that it doesn't use overviews anymore.

Warmerdam says from OSGEO4W mailing list:

The ECW driver does not report having any specific overview levels
and this defeats certain optimizations in the statistics computation.
I believe this has a bad effect when an ecw layer is first added to
qgis but browsing after that should be fast.

The fix is to make the histogram computing logic smarter
(I'm not positive if QGIS is using it's own or GDAL's logic)
so that for formats like ECW with "arbitrary overviews" a
small overview sample of data will be fetched for statistics.

I believe this issue is the same in all modern QGIS+GDAL
builds, not just specifically in OSGeo4W or windows.

Change History (6)

comment:1 by trapanator, 15 years ago

Must Fix for Release: NoYes
Platform Version: 1.0.1
Version: 1.0.0HEAD

comment:2 by pcav, 15 years ago

Milestone: Version 1.0.3

comment:3 by trapanator, 15 years ago

Milestone: Version 1.0.3Version 1.2.0

comment:4 by lutra, 15 years ago

I this still true?

On qgis 1.2 from trunk it took under a second to open a 56.5mb ECW raster image. The same under windows with qgis 1.0.2.

Please leave feedback.

comment:5 by lutra, 15 years ago

Resolution: worksforme
Status: newclosed

Tested again on different platforms and boxes, and seems fine, at least with the data in ecw format I have. I close this, but please reopen if necessary.

comment:6 by trapanator, 15 years ago

confirmed, 1.3.0: now it's MUCH faster!

Note: See TracTickets for help on using tickets.