R-Package that adds various quality-of-life functions for working with geodata to R.
The package was developed with R version 4.4.2 on Windows. Mac & Linux haven't been tested. Use the following code to install and load the package:
library(devtools)
install_github("JMidasch/geoRssistant")
library(geoRssistant)
djithermal.convert(input_dir, output_dir, height=512, width=640)
The actual thermal data of thermal images taken by DJI hardware such as the Mavic 3T is encrypted in the rJPGs metadata and can't be accessed directly without relying on the blackbox DJI thermal SDK.
This function extracts the thermal data from all images in a directory and saves it to individual tifs in another directory while preserving the metadata necessary for further processing in photogrammetry software. This allows the user to either work with the raw sensor data directly or to apply their own custom calibration.
rastertile.merge(input_dir = ".", pattern, input_ext, epsg ="25832", unzip = TRUE, remove_old = FALSE)
When you download geodata from a governmental open geodata portal you often have to download several individual tiles, often in the form of individual zip archives. Unzipping every single archive and merging all the raster files so you can actually work with them takes way to much time.
This function unzips all zip archives in a folder and merges all raster files they contain.
river.centerline(input_raster, points, output_dir)
river.rem (input_raster, centerlines, river_width, output_raster = " ")
Relative Elevation Models (REM) can not only help in the exploration of the microtopography around a river and reveal it's paleochannels, they can also look really really cool. However, the workflow to create them in a GIS can be very timeconsuming.
The river.centerline() function creates a rough centerline of a river based on a DEM and one or multiple startingpoints. The R river.rem() function takes this rough centerline and uses it to create a REM.
This workflow is heavily based on the tutorial by Daniel Coe.
qgis.filesort(input_path, output_dir ="", remove_old = FALSE)
When you work on a QGIS project for a extended period of time and don't keep a close eye on your file structure, you might lose track of which files are actually needed for the project and where they are. If you then want to send the project to another person or want to back it up somewhere it's quite a hassle to organize all the data in a compact way.
This function takes a QGIS project as input and copies it and all files related to it's layers to a single directory. Files are sorted into "Vector", "Raster" or "Other" subdirectories depending on the layer type. The layer sources in the QGIS project are adjusted accordingly and definition queries, styles etc. are kept intact in the process.
- Add examples
- Add new function: Relief visualization
- Add new function: Geozone checker
- Add new function: CRS batch transformer
- Add new function: Directory content comparer
- Add new function: UAS data sorter