Re: [gdal-dev] invert option for rasterize in python bindings

2011-12-07 Thread Chaitanya kumar CH
Kyle, This option is not available through the algorithm. It is implemented by the gdal_rasterize utility[1] by creating a ring that is just outside the extents of the output raster. Python's gdal.RasterizeLayer() takes the same arguments as GDALRasterizeLayers() [2]. [1]: http://trac.osgeo.org/

[gdal-dev] invert option for rasterize in python bindings

2011-12-07 Thread Kyle Shannon
Is the -i (invert burn) option available through gdal.RasterizeLayer()? I can't find the documentation. Kyle Shannon Senior Software Engineer GCS Research Office 406-532-3254 * Direct 406-541-3276 kshan...@gcs-research.com * www.gcs-research.com

RE: [gdal-dev] -unscale issue with multiband vrt

2011-12-07 Thread Kyle Shannon
Your correct Even. I thought I had nodata values in the other bands, but I didn't, I introduce those later in processing. Thanks again. Good guessing. kss -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Wednesday, December 07, 2011 2:03 PM To: gdal-d

Re: [gdal-dev] -unscale issue with multiband vrt

2011-12-07 Thread Even Rouault
Le mercredi 07 décembre 2011 20:17:39, Kyle Shannon a écrit : I think you are in fact exactly running in the issue of #3085. It is difficult to know for sure without having the data under my eyes, but I'm going to guess one more time ;-) So my guess it that before -unscale, your band 1 et 2 hav

[gdal-dev] -unscale issue with multiband vrt

2011-12-07 Thread Kyle Shannon
Hi All, I am running into an issue with unscaling a multiband raster. I am creating a vrt from 5 xyz datasets. I use the following command: gdalbuildvrt -separate -srcnodata - mmi.vrt csv\* 3 of the 5 rasters are of the lower 48 states of the US, the other 2 are only the western half. gd

Re: [gdal-dev] how to combine overlapping rasters?

2011-12-07 Thread Etienne Tourigny
On Tue, Dec 6, 2011 at 8:08 PM, Brian Case wrote: > Etienne > > if they overlap your limited to one of 2 options to mosaic > > gdalwarp or mapserver > > to get what ones are on top with gdalwarp i would imagine you would just > need to play with the order on the command line. Thanks you are right