Note: The applications described here have been developed within the framework of specific project questions and have not yet run a broad test phase, which is why they are marked with beta status. Please check your results. It is very helpful for us and other users if you give us feedback when you discover a bug.
The advanced functions for raster can be found in the menu Tools/Advanced Tools/For raster:
With the calculator for rasters you can make simple calculations on the raster data. Use the dropdown menu at the top right to select one of the raster objects loaded in the project. If there are several rasters with the same dimension and resolution in the project, they are displayed together in the list on the right for calculation. Once you have entered your formula, you must press confirm to perform the calculation. To save, use the diskette symbol at the top right.
With the check mark calculation only on selected you have the possibility to work on filtered data. An example of using the calculator and filter for raster data in combination can be found here. You should note that if you use the filter more than once for different calculations, a temporary file will be written with the name from the text field in the upper right corner. You should not change the name in such a case. There should be enough space in the folder for temporary files. You can define this folder with the programme settings.
In the image below, 50 is subtracted from the filtered data set. Since it is a digital terrain model, the result in the selected area is a surface that is exactly 50 metres below terrain. You can see that the variables, i.e. selected raster data, must be written in the formula with inverted commas.
If you use the button ... or double klick on the name on the list, quotation marks will be set automatically.
Here you can examine a raster for local outliers and smoothing them out accordingly. You can do this on continuous or classified raster files:
Note:
Please note that depending on the resolution and search field size, cleaning up the grid may take some time. It is therefore advisable not to make this calculation in the project currently being edited, but to open a new SubsurfaceViewer window for this purpose.
Below are two examples of a clean-up (continuous data and index grid).
Note:
We experienced that better results are achieved with larger search field windows. The calculation takes more time, but the result is more plausible grid values.
With this function you can write parameters of the descriptive statistics of a raster into a polygon shape (ESRI *.shp) and export it as a new file. Statistics are created for all raster cells that lie within a polygon and assigned to this polygon accordingly.
A typical application would be to transfer a suitability map in raster format into a polygon-based suitability map. Another application could be for the calculation of excavation costs in the case of remediation, for example. If the pollutant is available in a raster format and the excavation plan as polygons of the construction fields with their target depths, then the mean values, median values and other parameters of the pollutant distribution could be assigned to the corresponding construction field here and passed on to the application. See an example below:
You can write XYZ files in the SubsurfaceViewer via a small function into a raster without a concrete interpolation. This application may be needed, for example, when rasterised XYZ files are supplied for elevation data. A good example are the freely available ATKIS® digital terrain models (https://www.adv-online.de/AdV-Produkte/Geotopographie/Digitale-Gelaendemodelle/). The tile datasets can be loaded individually or in a batch. Grid cells for which no height coordinate can be found are assigned a NoData value.
Note:
If you set the files with a coarser resolution than the original dataset, mean values are formed for all height coordinates that fall within a raster cell. This is a simplified solution. For DTM data in the regional case and a regular coarsening, without the cells overlapping to different degrees, this method will probably suffice. Otherwise, we recommend triangulating on the XYZ data and exporting rasters with a different resolution. For more information, read the article Triangulation. Alternatively we recommend the free SAGA-Tool Resampling. Here you have some additional settings for a raster conversion to other resolutions.
XYZ files are also supplied from geophysical surveys as part of the provision of prominent horizons. In some cases it is not advantageous to perform an interpolation on these data, so you can deal with the data in a similar way here.
Here you can see an example of a generated raster from ATKIS®-DGM1 data: Sourece
Note:
Note that depending on the resolution, number and size of the XYZ file(s), the creation of the grid may take some time. It is advisable not to make this calculation in the project currently being edited, but to open a new SubsurfaceViewer window for this purpose.