<div dir="ltr">Markus,<div><br></div><div>I believe the GDAL ECW driver will pass RasterIO() requests through to the ECW SDK to evaluate meaning that there is no constraint based on the advertized power-of-two overviews exposed from GDAL and no loss of quality.</div>
<div><br></div><div>Best regards,</div><div>Frank</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 6:52 AM, Markus Schneider <span dir="ltr"><<a href="mailto:schneider@occamlabs.de" target="_blank">schneider@occamlabs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear list,<br>
<br>
I am new to programming with GDAL (and to the ECW format). Let me say<br>
thank you first, because my first experiences have been rather pleasant,<br>
even if my setup is relatively involved (thanks everybody for providing<br>
good documentation):<br>
<br>
- Ubuntu 12.04 (AMD64)<br>
- GDAL 1.10.1 (build from source)<br>
- ECW SDK 5.0<br>
- GDAL Java bindings<br>
<br>
I successfully created a toy Java class for extracting regions from an<br>
ECW file. Speed is impressive.<br>
<br>
My observations/questions:<br>
<br>
- If I understand correctly, ECW files internally do not have such a<br>
thing as fixed overviews. However, ECW supports extraction of regions<br>
with specified resolution on-the-fly. Is this correct?<br>
- GDAL API reports overviews for ECW datasets. Having a first look at<br>
the code, it seems to generate overview dimensions by subsequently<br>
dividing height and width by two (until a minium side length of 128 has<br>
been reached).<br>
<br>
Final question: Is it possible to efficiently retrieve (regions of)<br>
overviews at self-defined scales using the GDAL API? Or do I have to use<br>
the ECW SDK for that?<br>
<br>
Keep up the good work. Thanks for any pointers.<br>
<br>
Best regards,<br>
Markus<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Markus Schneider<br>
CEO<br>
<br>
Occam Labs UG (haftungsbeschränkt)<br>
Godesberger Allee 139<br>
53175 Bonn, Germany<br>
<br>
<a href="tel:%2B49%20228%2093798874" value="+4922893798874">+49 228 93798874</a><br>
<br>
<a href="http://www.occamlabs.de" target="_blank">http://www.occamlabs.de</a><br>
<br>
</font></span><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software Developer<br>
</div>