New answers tagged

1

It seems to me that Matlab GeoTIFF reader can't deal with nodata value or with alpha channel https://se.mathworks.com/help/map/ref/geotiffread.html. Transparency is available only for PNG, CUR and ICO files https://se.mathworks.com/help/matlab/ref/imread.html. Therefore the only way to remove the nodata areas from Matlab on QGIS side is probably to save the ...


3

You can do this by calling the same function on either slider change and then accessing the values from the slider directly from within the function which in this case i've named updateLayer var slider = ui.Slider({ min:-1, max: 1, step: 0.01, style: {stretch: 'horizontal', width:'500px'}, onChange: updateLayer }); var slider1 = ui.Slider({ min:...


2

You are reinventing the wheel here. There is a function land.metrics in the spatialEco package that calculates point (radius) and polygon landscape metrics. The focal.lmetrics function facilitates moving window metrics. You could also take a look at the sample_lsm function in the landscapemetrics package. It is written in Rcpp so, is quite fast and efficient ...


Top 50 recent answers are included