qgisred / QGISRed

GNU General Public License v2.0
24 stars 7 forks source link

A humble suggestion. #42

Open MatiasSeoane opened 3 years ago

MatiasSeoane commented 3 years ago

Thinking about how to improve the tool it occurred to me to suggest that you could use the code of the following plugin (https://github.com/borysiasty/pointsamplingtool/blob/master/pointSamplingTool.py) so that the interpolation is directly from a raster file (It seems to me a more common use format for a dem). The plugin, in case you don't know it, generates a new layer of points with the value of the closest raster cell. My knowledge of python is in full development so i'm unable to do it at least right now but I understand that it should not be difficult to modify this so that it updates the junctions layer.

neslerel commented 3 years ago

Thanks @MatiasSeoane, we will consider your suggestion when we are going to improve/create this feature.

MatiasSeoane commented 3 years ago

Thanks for the answer! You can also check this other plugin:

https://github.com/jorgealmerio/QWater

I ended up using a combination of both.