[gdal-dev] Custom geometric transformation

Denis Rykov rykovd at gmail.com
Sat Dec 4 15:09:12 PST 2021


According to rasterio's documentation
<https://rasterio.readthedocs.io/en/latest/topics/reproject.html>
"reproject" is a geospatial-specific analog to SciPy’s geometric_transform
<https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.geometric_transform.html#scipy.ndimage.geometric_transform>
.
But the thing is "geometric_transform" doesn't support masked arrays so it
can't properly transform images with nodata value.
My question: is it possible to write a custom transformer function and use
it in GDAL to transform an image (considering nodata) to overcome the lack
of the appropriate functionality in SciPy.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211205/e45db64a/attachment.html>


More information about the gdal-dev mailing list