Thanks for your answer. Another question, does it make sense to support the GRA_Lanczos interpolation method which has been introduced after I finished gdal_retile.py I would do a cvs checkout and send you the python file and the man page as attachment. christian


Frank Warmerdam writes:
Christian Müller wrote:
The utility uses the python method gdal.ReprojectImage(....).
As far as I see in http://www.gdal.org/gdalwarper_8h.html there is a new Constant GRA_Lanczos for an interpolation method which is not supported at the moment, but I see no constant for "mode" resampling.
Perhaps we get a hint from an specialist.
At the moment I see no possibility (but I could be wrong)

Christian,
I do not believe that mode resampling is available via the warp api,
nor is it particularly conducive to such a resampling kernel since it
does not keep close track of which input pixels map to a particular
output pixel.  This is a surprisingly difficult thing to do when an
arbitrary spatial transformation is being applied.
Best regards,
--
---------------------------------------+---------------------------------- ---- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to