Ticket #3454 (closed defect: wontfix)
Poor performance of ECW->ECW window extraction , except when using no-op temporary warped VRT
| Reported by: | rouault | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | ECW |
| Cc: |
Description
I've confirmed a report from a user on this forum (French) : http://georezo.net/forum/viewtopic.php?id=62434
How to reproduce :
0) Let's have a big ECW tile (from example a 21600x21600 x 3 band dataset converted from a BMNG tile) called src.ecw
1) Slow path : gdal_translate -of ECW src.ecw target.ecw -srcwin 0 0 512 512
--> takes 32 s on my PC
2) Fast path :
- gdalwarp -of VRT src.ecw src.vrt
- then, gdal_translate -of ECW src.vrt target.ecw -srcwin 0 0 512 512
--> takes 5.8s on my PC
Attached the output of the gdal_translate run with CPL_DEBUG in both cases.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

