Re: [gdal-dev] Issue with resampling algorithm in gdal_array.DatasetReadAsArray python wrapper function

2022-02-10 Thread Miguel A. Manso
f I select the NearestNeighbour algorithm. In the rest of the cases (Bilinear, bicubic, Lanczos, etc...) what the function returns me is a mosaic that repeats 9 times (3x3) the original image in reduced size. What am I doing wrong or what have I interpreted incorrectly in the API? First you

[gdal-dev] Issue with resampling algorithm in gdal_array.DatasetReadAsArray python wrapper function

2022-02-09 Thread Miguel A. Manso
have I interpreted incorrectly in the API? Thanks & Best regards Miguel A. Manso MERCATOR Research Group ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] About gdal RasterizeLayer

2021-05-04 Thread Miguel A. Manso
. Especially if you have to do it for many lines. My question is along the lines of whether the RasterizeLayer function itself could do this process in a more efficient way, making the burning of the objects not an OR operation but an arithmetic sum... Any suggestions would be welcome. Regards Miguel