Re: [gdal-dev] Reading interpolated values on DSM

2024-04-29 Thread Javier Jimenez Shaw via gdal-dev
Hi all Thanks for your answers Just to get some values, the VRT was enough to get an idea. Thanks Jukka. The questions was more like "this should be somewhere, and I do not find it", but apparently "it was not there". I see that GDALRasterInterpolateAtPoint could be useful (I am surprised it was

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Even Rouault via gdal-dev
Le 24/04/2024 à 15:00, Michael Sumner a écrit : Or a grouping function that returned the cell index for neighbours and weighting that are involved in whatever calculation summary is wanted. That doesn't seem super user friendly, as users would still be left to do the raster value extraction and

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Michael Sumner via gdal-dev
Or a grouping function that returned the cell index for neighbours and weighting that are involved in whatever calculation summary is wanted. Maybe the warper could return this as a starting point rather than doing the "task at hand". ? On Wed, Apr 24, 2024 at 8:51 PM Even Rouault via gdal-dev

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Even Rouault via gdal-dev
Hi, I guess this discussion, and past similar ones, calls for an enhancement. A new API function, like CPLErr GDALRasterInterpolateAtPoint(GDALRasterBandH, double dfPixel, double dfLocation, GDALRIOResampleAlg eInterpolation, double *pdfValue), that could be used by a new mode of gdallocation

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Kristian Evers via gdal-dev
0 The grid values are obviously the third component of the output coordinates. /Kristian From: gdal-dev On Behalf Of Javier Jimenez Shaw via gdal-dev Sent: 24. april 2024 10:33 To: gdal dev Subject: [gdal-dev] Reading interpolated values on DSM Hi I would like to read in QGIS or GDAL an interp

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Rahkonen Jukka via gdal-dev
11.33 Vastaanottaja: gdal dev Aihe: [gdal-dev] Reading interpolated values on DSM Hi I would like to read in QGIS or GDAL an interpolated value in a DSM (well, actually it is a geoid model, but it is the same behaviour). See that I do not want the pixel value, but the linear interpolation among

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Javier Jimenez Shaw via gdal-dev
I think it is not QGIS 3 compatible. It is very old (yes, I tried to install from the zip,.. and failed) On Wed, 24 Apr 2024 at 10:51, Paul Harwood wrote: > If you want to do it in QGIS ... > > https://plugins.qgis.org/plugins/rasterinterpolation/ > > On Wed, 24 Apr 2024, 09:33 Javier Jimenez Sh

Re: [gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Paul Harwood via gdal-dev
If you want to do it in QGIS ... https://plugins.qgis.org/plugins/rasterinterpolation/ On Wed, 24 Apr 2024, 09:33 Javier Jimenez Shaw via gdal-dev, < gdal-dev@lists.osgeo.org> wrote: > Hi > > I would like to read in QGIS or GDAL an interpolated value in a DSM (well, > actually it is a geoid mode

[gdal-dev] Reading interpolated values on DSM

2024-04-24 Thread Javier Jimenez Shaw via gdal-dev
Hi I would like to read in QGIS or GDAL an interpolated value in a DSM (well, actually it is a geoid model, but it is the same behaviour). See that I do not want the pixel value, but the linear interpolation among the neighbour pixels, assuming that the pixel value is in the center of the pixel. F