Changes between Version 5 and Version 6 of FDORfc65
- Timestamp:
- 10/22/12 09:46:33 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc65
v5 v6 31 31 32 32 A new class !FdoRfpStreamReaderByTileResample is introduced to implement resampling behaviour. It maintains a member instance of the existing !FdoRfpStreamReaderByTile to perform the reading and resampling from the GDAL library. The member reader samples at 2x the required pixel density. This data is then downsampled to the required pixel density using one of resampling methods supported by GDAL warp: 33 * B ilinear- Bilinear resampling34 * C ubic- Cubic resampling35 * !CubicSpline- Cubic spline resampling36 * L anczos- Lanczos windowed sinc resampling33 * BILINEAR - Bilinear resampling 34 * CUBIC - Cubic resampling 35 * CUBICSPLINE - Cubic spline resampling 36 * LANCZOS - Lanczos windowed sinc resampling 37 37 38 The resampling method is specified by a new "!ResamplingMethod" parameter in the connection string for the provider. The parameter values are case insensitive.38 The resampling method is specified by a new "!ResamplingMethod" parameter in the connection string for the provider. The parameter values can be enumerated and are case sensitive. 39 39 40 40 {{{ 41 m_connection->SetConnectionString(L"DefaultRasterFileLocation=../../TestData/pci_eg/acea.tif;ResamplingMethod= bilinear");41 m_connection->SetConnectionString(L"DefaultRasterFileLocation=../../TestData/pci_eg/acea.tif;ResamplingMethod=BILINEAR"); 42 42 }}} 43 43 … … 48 48 See attachment:RasterResample20121012.patch for an initial implementation of the RFC. This patch can be applied directly to trunk. 49 49 50 Updated attachment:RasterResample2012102 1.patch contains CPLPrintPointer modification suggested by Frank Warmerdamand updates for Linux build.50 Updated attachment:RasterResample20121022.patch contains CPLPrintPointer modification suggested by Frank Warmerdam, !ResamplingMethod enumeration suggested by Jackie Ng, and updates for Linux build. 51 51 52 52 == Implications ==