Changes between Version 5 and Version 6 of FDORfc65


Ignore:
Timestamp:
Oct 22, 2012, 9:46:33 AM (12 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc65

    v5 v6  
    3131
    3232A 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  * Bilinear - Bilinear resampling
    34  * Cubic - Cubic resampling
    35  * !CubicSpline - Cubic spline resampling
    36  * Lanczos - Lanczos windowed sinc resampling
     33 * BILINEAR - Bilinear resampling
     34 * CUBIC - Cubic resampling
     35 * CUBICSPLINE - Cubic spline resampling
     36 * LANCZOS - Lanczos windowed sinc resampling
    3737
    38 The resampling method is specified by a new "!ResamplingMethod" parameter in the connection string for the provider.  The parameter values are case insensitive.
     38The 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.
    3939
    4040{{{
    41 m_connection->SetConnectionString(L"DefaultRasterFileLocation=../../TestData/pci_eg/acea.tif;ResamplingMethod=bilinear");
     41m_connection->SetConnectionString(L"DefaultRasterFileLocation=../../TestData/pci_eg/acea.tif;ResamplingMethod=BILINEAR");
    4242}}}
    4343
     
    4848See attachment:RasterResample20121012.patch for an initial implementation of the RFC.  This patch can be applied directly to trunk.
    4949
    50 Updated attachment:RasterResample20121021.patch contains CPLPrintPointer modification suggested by Frank Warmerdam and updates for Linux build.
     50Updated attachment:RasterResample20121022.patch contains CPLPrintPointer modification suggested by Frank Warmerdam, !ResamplingMethod enumeration suggested by Jackie Ng, and updates for Linux build.
    5151
    5252== Implications ==