<div dir="ltr"><div>I will try first the EHdr driver option.</div><div><br></div>Thanks a lot Even and Kyle,<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/22 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mardi 22 octobre 2013 19:43:50, Gabriel Fusca a écrit :<br>
<div class="im">> I'm thinking to configure the header file (.hdr) following the<br>
> especification of the header (<br>
> <a href="http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=BIL,_BIP,_and" target="_blank">http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=BIL,_BIP,_and</a><br>
> _BSQ_raster_files )<br>
><br>
> skipbytes: file offset<br>
> bandrowbytes: band offset<br>
> totalrowbytes: row offset<br>
><br>
> I don't know if GDAL can handle this configuration.<br>
<br>
</div>This is handled by the GDAL EHdr driver.<br>
<br>
Looking at the code :<br>
* skipbytes: yes, taken into account<br>
* bandrowbytes: only taken into account if nbits < 8<br>
* totalrowbytes : only taken into account if nbits < 8<br>
<br>
Not sure why the last 2 fields are only taken into account conditionnaly.<br>
<br>
If that doesn't work for you, as suggested by Kyle, you could use<br>
VRTRawRasterBand specification.<br>
<span class="HOEnZb"><font color="#888888"><br>
Even<br>
<br>
--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><span><font color="#888888">Gabriel Fusca<br>SUR Emprendimientos Tecnológicos<br><br>Perú 345  Piso 5to Oficina "B" (C1067AAG)<br>Ciudad de Buenos Aires, Argentina<br>

Tel. +54 (11) 4342-2976/84<br><a href="mailto:gabrielfusca@suremptec.com.ar" target="_blank">gabrielfusca@suremptec.com.ar</a><br><a href="http://www.suremptec.com/" target="_blank">http://www.suremptec.com/</a><br></font></span>
</div>