Re: [gdal-dev] cubic / bilinear resampling with gdalwarp looks similar to nearest neighbour

2010-09-29 Thread Seth Price
The only way to 'force' it is to use cubicspline or lanczos. Everything else has a hardcoded filter size. If those are too slow, I'd suggest using the OpenCL code I wrote over the summer. It's many times faster. (It should be in trunk soon if it isn't already.) http://github.com/mailseth/OpenCL-in

Re: [gdal-dev] cubic / bilinear resampling with gdalwarp looks similar to nearest neighbour

2010-09-29 Thread Craig de Stigter
Thanks Even However if I do the same thing with reprojection I get the same result. gdalwarp output looks sharp and ugly, imagemagick output looks nice. Is there any way to force the bilinear/cubic interpolation to notice more pixels? The other interpolation methods are much slower, I imagine eve

Re: [gdal-dev] Creatin an image file from scratch

2010-09-29 Thread Frank Warmerdam
Mario Beaulieu wrote: Hi, I am trying to create a TIFF file from scratch by doing this : GDALDriver* pDriver = (GDALDriver*) GDALGetDriverByName("GTiff"); GDALDataset* pOutDS = pDriver->Create( sFilePath.c_str(), m_lWidth, m_lHeight, m_lNumberOfBands, GDT_Byte, NULL); GDALClose(pOutDS );

Re: [gdal-dev] cubic / bilinear resampling with gdalwarp looks similar to nearest neighbour

2010-09-29 Thread Even Rouault
Craig, The main reason is that you are using gdalwarp to reduce an image by a large factor and not reproject it, which generally only involves image resizing by small factors. The implementation of the bilinear and cubic resampling algorithms is currently not designed for the pure resizing use

[gdal-dev] cubic / bilinear resampling with gdalwarp looks similar to nearest neighbour

2010-09-29 Thread Craig de Stigter
Hi folks I filed this bug on gdal a few weeks back and haven't heard anything since. Would someone mind taking a look at it? Thanks Craig de Stigter -- Koordinates Ltd PO Box 1604, Shortland St, Auckland, New Zealand Phone +64-9-966 0433 Fax +64-9-969 0

Re: [gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread Tamas Szekeres
+1 Tamas 2010/9/29 Daniel Morissette > MOTION: To add Alan Boudreault as GDAL/OGR committer > > > Alan is already a committer of the MITAB project whose code is used for > the MapInfo MIF/TAB OGR driver, and he has contributed several fixes and > enhancements to MITAB in the last couple of ye

Re: [gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread RICHARD Didier
> MOTION: To add Alan Boudreault as GDAL/OGR committer > +1 didier > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- RICHARD

[gdal-dev] Creatin an image file from scratch

2010-09-29 Thread Mario Beaulieu
Hi, I am trying to create a TIFF file from scratch by doing this : GDALDriver* pDriver = (GDALDriver*) GDALGetDriverByName("GTiff"); GDALDataset* pOutDS = pDriver->Create( sFilePath.c_str(), m_lWidth, m_lHeight, m_lNumberOfBands, GDT_Byte, NULL);GDALClose(pOutDS ); It creates the file b

Re: [gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread Howard Butler
On Sep 29, 2010, at 12:14 PM, Even Rouault wrote: > Le mercredi 29 septembre 2010 18:17:03, Daniel Morissette a écrit : >> MOTION: To add Alan Boudreault as GDAL/OGR committer >> > +1 > +1 Howard___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

Re: [gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread Even Rouault
Le mercredi 29 septembre 2010 18:17:03, Daniel Morissette a écrit : > MOTION: To add Alan Boudreault as GDAL/OGR committer > +1 Even ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread Frank Warmerdam
Daniel Morissette wrote: MOTION: To add Alan Boudreault as GDAL/OGR committer +1 Frank -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http:/

[gdal-dev] MOTION: Add Alan Boudreault as GDAL/OGR committer

2010-09-29 Thread Daniel Morissette
MOTION: To add Alan Boudreault as GDAL/OGR committer Alan is already a committer of the MITAB project whose code is used for the MapInfo MIF/TAB OGR driver, and he has contributed several fixes and enhancements to MITAB in the last couple of years. With GDAL/OGR commit rights, Alan would be more

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Daniel Morissette
Sebastian E. Ovide wrote: > ok guys, something weird is happening... > > I have the data in a windows share folder on another machine. So I have > mounted that folder on a VBox Ubuntu. ogrinfo would not work on those files. > > I copied those files to another directory: > > us is the smb folder

Re: [gdal-dev] tiff with colortable loses alpha values?

2010-09-29 Thread Vincent Schut
On 09/28/2010 07:29 PM, Even Rouault wrote: Vincent, The TIFF format doesn't allow storing the alpha component, so it is ignored. See the TIFF specification, section 5 : http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf Possible workarounds : * work with RGBA tiff * add a mask band

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Sebastian E. Ovide
ok guys, something weird is happening... I have the data in a windows share folder on another machine. So I have mounted that folder on a VBox Ubuntu. ogrinfo would not work on those files. I copied those files to another directory: us is the smb folder tmp is a local folder cp us/* tmp/ on tm

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Sebastian E. Ovide
Is there anyway to get more verbose outputs ? g...@mapserver:~/data/us$ ls -la . -rwxr-xr-x 1 gis root 3512226 2010-09-28 17:10 CA_Wild Fire Bundle.DAT -rwxr-xr-x 1 gis root413184 2010-09-28 17:10 CA_Wild Fire Bundle.ID -rwxr-xr-x 1 gis root 6606336 2010-09-28 17:10 CA_Wild Fire Bundle.IN