Peter,<div><br></div><div>I'm guessing you are using the gdal_polygonize.py script</div><div>for masking.  Is that right?  I am not aware of any particular</div><div>reason this shouldn't work for any "update in place" format</div>
<div>(ie. shows "rw+" in the gdalinfo --formats list).  ENVI is in</div><div>this list. </div><div><br></div><div>BTW, before we do a lot of work to investigate this you might</div><div>want to see if the problem persists with GDAL 1.9.  GDAL 1.6.3</div>
<div>is getting pretty antique.</div><div><br></div><div>Best regards,</div><div>Frank</div><div><div><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 2:59 PM, Peter Willis <span dir="ltr"><<a href="mailto:pwillis@aslenv.com" target="_blank">pwillis@aslenv.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Is it possible to use ESRI SHP polygon file to mask<br>
ENVI  BSQ img format files with more than 1 band?<br>
<br>
I can mask a GTiff file using the SHP but ENVI file does not<br>
appear to work.  Gdal version is  1.6.3 .<br>
<br>
The documentation appears unclear for any raster that is not<br>
specifically GTiff.<br>
<br>
Thanks,<br>
<br>
Peter<br>
<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><br>
</div></div>