Re: [gdal-dev] help resampling raster to coarser scale

2011-08-08 Thread Etienne
Message - From: Vincent Schut sc...@sarvision.nl To: gdal-dev@lists.osgeo.org Cc: Sent: Friday, August 5, 2011 4:37:42 AM Subject: Re: [gdal-dev] help resampling raster to coarser scale On 08/05/2011 03:57 AM, Etienne wrote: Hi all, I am trying to resample a raster with categorical data (land

Re: [gdal-dev] help resampling raster to coarser scale

2011-08-05 Thread Anton Korosov
Hi Etienne! What if you first process the original fine resolution image with a filter (low-pass, median, or manually created pixel function). Then the result, which is a fine resolution image but smoothed, could be resampled with the nearest neighbor. Anton On 08/05/2011 03:57 AM, Etienne

Re: [gdal-dev] help resampling raster to coarser scale

2011-08-05 Thread Vincent Schut
On 08/05/2011 03:57 AM, Etienne wrote: Hi all, I am trying to resample a raster with categorical data (land surface vegetation/cover) from a high resolution (500m) to a coarser resolution. I would like to do something similar to what the GRASS operator r.resamp.stats does, using the modal

Re: [gdal-dev] help resampling raster to coarser scale

2011-08-05 Thread Etienne
To: gdal-dev@lists.osgeo.org Cc: Sent: Friday, August 5, 2011 4:37:42 AM Subject: Re: [gdal-dev] help resampling raster to coarser scale On 08/05/2011 03:57 AM, Etienne wrote: Hi all, I am trying to resample a raster with categorical data (land surface vegetation/cover) from a high resolution

Re: [gdal-dev] help resampling raster to coarser scale

2011-08-05 Thread Etienne
:41 AM Subject: Re: [gdal-dev] help resampling raster to coarser scale Hi Etienne! What if you first process the original fine resolution image with a filter (low-pass, median, or manually created pixel function). Then the result, which is a fine resolution image but smoothed, could be resampled

Re: [gdal-dev] help resampling raster to coarser scale

2011-08-05 Thread Chaitanya kumar CH
utilities/functions/python code? Etienne - Original Message - From: Anton Korosov anton.koro...@nersc.no To: gdal-dev@lists.osgeo.org Cc: Sent: Friday, August 5, 2011 3:27:41 AM Subject: Re: [gdal-dev] help resampling raster to coarser scale Hi Etienne! What if you first process