Re: [gdal-dev] Croping raster map but keeping up the grid without resampling

2012-10-29 Thread Luis Lisboa
? Thank you Regards On Mon, Oct 29, 2012 at 11:40 AM, Etienne Tourigny wrote: > I guess you are using gdalwarp (although you didn't specifically > mention it). You should be using gdal_translate with the -srcwin > option > > Etienne > > On Mon, Oct 29, 2012 at 6:4

[gdal-dev] Croping raster map but keeping up the grid without resampling

2012-10-29 Thread Luis Lisboa
Greetings I have a raster image and I want to crop a piece of it(usin -te) but I want to keep: - the same spatial resolution (use -tr ) - and keep the same grid (avoiding mismatching from original image). Is this possible? If yes, how? because all my attempts there is a slightly mismatch between o

Re: [gdal-dev] Question about using crop_to_cutline

2012-10-25 Thread Luis Lisboa
Hi I have exacly the same problem. It is resampling to the extent of the polygon instead of croping just the pixels inside the polygon and using the pixel frame of the original image. How can this be fixed? Regards Luis Lisboa - ORIGINAL MESSAGE

[gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Luis Lisboa
Greetings I want to orthorectify a few SPOT images and at QGIS mailing list someone indicated me that this feature is available in GDAL. I have checked but I didn't find anything. Can anyone confirm me this? Regards Luis ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-12 Thread Luis Lisboa
gt; PS: -crop_to_cutline => GDAL >= > 1.8.0<http://www.gisinternals.com/sdk/>required > > cheers > > Jorge Santos > > > 2012/9/11 Luis Lisboa > >> Hi Eli >> Probably I was not clear: When I use this it outputs a geotiff with two >> bands: 1

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-11 Thread Luis Lisboa
Thu, Sep 6, 2012 at 4:50 AM, Eli Adam wrote: > 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 tha

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-05 Thread Luis Lisboa
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 f

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-04 Thread Luis Lisboa
alwarp.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 to cut raster map to only have valid values inside the polygon. How >> can I do this using just

[gdal-dev] How to cut a Raster map with a KML file

2012-09-03 Thread Luis Lisboa
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

[gdal-dev] Using GDAL with KOMPSAT-2 images

2010-05-26 Thread Luis Lisboa
Greetings While I was importing to GRASS some KOMPSAT-2 images I got a few warnings. Then, I decided to do some GDALINFO over those Kompsat-2 images and I got the following warnings: Warning 1: TIFFFetchNormalTag:ASCII value for tag "DocumentName" does not end in null byte Warning 1: TIFFFetchNor