either way.
Thanks again,
Peter
From: Pinner, Luke [mailto:luke.pin...@environment.gov.au]
Sent: October-17-12 4:11 PM
To: Peter Willis; gdal-dev@lists.osgeo.org
Subject: RE: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI
SHP format Vector [SEC=UNCLASSIFIED]
Perhaps
Peter,
I'm guessing you are using the gdal_polygonize.py script
for masking. Is that right? I am not aware of any particular
reason this shouldn't work for any update in place format
(ie. shows rw+ in the gdalinfo --formats list). ENVI is in
this list.
BTW, before we do a lot of work to
@lists.osgeo.org
Subject: Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI
SHP format Vector
Peter,
I'm guessing you are using the gdal_polygonize.py script
for masking. Is that right? I am not aware of any particular
reason this shouldn't work for any update in place format
(ie
Try gdalwarp (http://www.gdal.org/gdalwarp.html) with the -cutline argument.
gdalwarp -of envi -cutline shapefile.shp multibandenvi.dat croppedoutput.dat
Luke
-Original Message-
From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Peter Willis
ENVI file Using ESRI
SHP format Vector
Peter,
I'm guessing you are using the gdal_polygonize.py script
for masking. Is that right? I am not aware of any particular
reason this shouldn't work for any update in place format
(ie. shows rw+ in the gdalinfo --formats list). ENVI
Subject: Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP
format Vector
Hello,
On second thoughts, this is not really what I want.
I have a SHP format polygon vector file already.
I want to use that existing vector file to mask the ENVI format BSQ file
through all (49) channels
On Wed, Oct 17, 2012 at 3:42 PM, Peter Willis pwil...@aslenv.com wrote:
Hello,
** **
On second thoughts, this is not really what I want.
** **
I have a SHP format polygon vector file already.
I want to use that existing vector file to mask the ENVI format BSQ file
through