Hello Jorge (portuguese?)
The problem is not the KML. GDALwarp supports the usage of KML to cut
Raster file. The thing is that it generates a Geotiff file with two bands:
1 with the masked values and another with just value of 1 in the valid
pixels (a bitmask). Is it possible to generate a geotiff
Luis,
On Tue, Sep 11, 2012 at 11:14 AM, Luis Lisboa wrote:
> Hi Eli
> Probably I was not clear: When I use this it outputs a geotiff with two
> bands: 1 with the real data and another one with the mask of the pixels that
> fall inside each polygon. I just want to have an output file with one band
Hi Eli
Probably I was not clear: When I use this it outputs a geotiff with two
bands: 1 with the real data and another one with the mask of the pixels
that fall inside each polygon. I just want to have an output file with one
band (band 1) and without the mask. Is it possible?
Thanks
Luis
On Thu
Luis,
On Wed, Sep 5, 2012 at 3:00 AM, Luis Lisboa wrote:
> Thank you Chitanya.
> But it created an output file with two layers (one with the values from
> original file and another with a 255 for the pixels thar are inside KMZ
> file: How can I have produce one layer?
I may be thinking of someth
Thank you Chitanya.
But it created an output file with two layers (one with the values from
original file and another with a 255 for the pixels thar are inside KMZ
file: How can I have produce one layer?
Thanks
Luis
On Mon, Sep 3, 2012 at 5:10 PM, Chaitanya kumar CH
wrote:
> Luis,
>
> gdalwarp has
Thank you Chitanya. But it created an output file with two layers (one with
the values from original file and another with a 255 for the pixels thar
are inside KMZ file: How can I have just one layer?
Other thing: as far as I saw it procewssed the data without needing to have
the KML and the Geotif
Luis,
gdalwarp has some options for this exact purpose.
The cutline can be from any of the OGR readable datasource.
http://www.gdal.org/gdalwarp.html
On Mon, Sep 3, 2012 at 9:34 PM, Luis Lisboa wrote:
> Greetings
> I have a raster file (Geotiff) and I have a KML file with a polygon and I
> want
Greetings
I have a raster file (Geotiff) and I have a KML file with a polygon and I
want to cut raster map to only have valid values inside the polygon. How
can I do this using just GDAL?
Usually I used to cut geotiff file with gdalwarp and but in those cases I
was cutting a square (xmin xmax ymin