A collection of QGIS processing algorithms.
There is a handy processing algorithm to download files from an arbitrary URL. But as it seems geodata are often in compressed ZIP archives. In case of ZIP archives it is necessary to extract downloaded data to a destination folder for further processing.
- download the Python script
- open Processing Toolbox in QGIS
- select "Open Existing Script" in the Processing Toolbox menu
- select the script UnzipArchiveProcessing.py
- algorithm is added in section "Scripts"
This algorithm is useful for use in a model after downloading data.
QGIS features already a Download File processing tool to download (geo-)data from a server. But there is a missing tool to upload files to a server.
- download the Python script
- open Processing Toolbox in QGIS
- select "Open Existing Script" in the Processing Toolbox menu
- select the script FtpUploadProcessing.py
- algorithm is added in section "Scripts"
While QGIS features an user-friendly and sophisticated georeferencer for raster files with different transformation options, it lacks a similar tool for vector layers. QGIS features a native vector georeferencer since version 3.26. The GDAL/OGR library provides the gcp options to georeference vector layers with polynominal transformations.
But there is still an option missing to reference data with a 4-parameter Helmert transformation with estimated parameters using the least square fitting. This QGIS processing script should fill this gap.
- download the Python script
- open Processing Toolbox in QGIS
- select "Open Existing Script" in the Processing Toolbox menu
- select the scripts HelmertTransformationProcessing.py and/or PolynominalTransformationProcessing.py
- algorithms are added in section "Scripts"
- load the unreferenced vector layer
- create a new linestring layer (temporary scratch layer is sufficient)
- determine control points and add one linestring (with start and end point) for each control point from the unreferenced layer to the georeferenced layer
- run the processing algorithm
- check the transformation