Re: [gdal-dev] Change Resampling method

2010-03-10 Thread Frank Warmerdam
Paul Meems wrote: We're using GDAL in MapWindow GIS and we're very happy about it. Thanks for this great library. Currently we have problems displaying png files representing only a few lines. The lines show up very stippled. Pixels are missing. Reading this article, this seems 'by design': h

[gdal-dev] Change Resampling method

2010-03-10 Thread Paul Meems
We're using GDAL in MapWindow GIS and we're very happy about it. Thanks for this great library. Currently we have problems displaying png files representing only a few lines. The lines show up very stippled. Pixels are missing. Reading this article, this seems 'by design': http://n2.nabble.com/Ch

Re: [gdal-dev] Change Resampling method

2009-10-15 Thread vvv jjj
Dear Frank Thanks for the swift response. Viswanath. --- On Thu, 15/10/09, Frank Warmerdam wrote: > From: Frank Warmerdam > Subject: Re: [gdal-dev] Change Resampling method > To: "vvv jjj" > Cc: gdal-dev@lists.osgeo.org > Date: Thursday, 15 October, 2009, 8:01 P

Re: [gdal-dev] Change Resampling method

2009-10-15 Thread Greg Coats
Your reference to lanscoz is likely referring to Lanczos resampling http://en.wikipedia.org/wiki/Lanczos_resampling The gdalwarp man page shows that it supports 5 resampling methods: near, bilinear, cubic, cubicspline, lanczos. http://www.gdal.org/gdalwarp.html Greg On Oct 15, 2009, at 4:00 AM

Re: [gdal-dev] Change Resampling method

2009-10-15 Thread Frank Warmerdam
vvv jjj wrote: Hi I'm trying to read raster file (simple Tiff) raster data using RasterIO and display the raster data without creating another dataset. By default GDAL uses nearest neighbor resampling algorithm. I would like to use other resampling methods (lanscoz). I do not need to write in a

Re: [gdal-dev] Change Resampling method

2009-10-15 Thread Chaitanya kumar CH
Viswanath, RastorIO doesn't do any resampling. RasterIO doesn't have an argument like hDstDS. I think the resampling is occuring during reprojection or some other process. On Thu, Oct 15, 2009 at 1:30 PM, vvv jjj wrote: > Hi > > I'm trying to read raster file (simple Tiff) raster data using Ras

[gdal-dev] Change Resampling method

2009-10-15 Thread vvv jjj
Hi I'm trying to read raster file (simple Tiff) raster data using RasterIO and display the raster data without creating another dataset. By default GDAL uses nearest neighbor resampling algorithm. I would like to use other resampling methods (lanscoz). I do not need to write in a new file (no h