Ash Perera's repositories
QGIS-Vector-Processing
A QGIS Python script for automating geospatial data processing. It buffers road networks, converts to single parts, adds unique auto-incremental fields, and differences building footprints. The final layer is saved as a shapefile and loaded into QGIS. Ideal for importing to flood modelling software such as Infoworks ICM with no errors.
Rainfall-Data-Fetcher
Chrome extension to fetch IFD data from BOM Australia based on coordinates
Rasterize-Vectors-ARR
Rasterize shape file vectors(2D zones) from Infoworks ICM to Hazard ARR, Speed and Depth
Automate-Upstream-and-Downstream-Node-Assignment-for-Stormwater-Networks-in-QGIS
Automatically assigns upstream (US_NODE_ID) and downstream (DS_NODE_ID) nodes to stormwater pipes in QGIS based on pit elevations. Identifies nearest pits at each pipe end, compares elevations, and assigns flow direction accordingly. Ideal for preparing datasets for InfoWorks ICM and other hydraulic modelling software.
Combine-PDF
A Python script to combine multiple PDFs, allowing the insertion of one PDF before the last page of another. Flexible for adding additional documents. Perfect for document management tasks.
Extract-Polygon-from-PNG-Image
This Python script extracts polygons from a PNG image based on a target color and converts them into vector polygons in QGIS. The polygons are added to a temporary vector layer with a specified CRS. Ideal for converting image data into spatial data for analysis.
Folder-creation
This script automates the creation of folders based on names extracted from a Microsoft Word document (.docx). It reads each line from the document, processes the text to ensure valid folder names, and creates corresponding directories in a specified base directory.
Generate-GIF-from-Time-Varying-Raster-Layers-in-QGIS
This script automates the process of generating an animated GIF from time-varying raster layers in QGIS. It toggles each raster layer sequentially while keeping the aerial basemap on, captures each frame, and exports the animation.
Multiple-Vector-to-Raster-Processing-with-Styling
Automate batch rasterization of multiple vector layers, apply styles and organize raster layers in QGIS.
Reproject-Vector-and-raster-layers
This Python script automates reprojecting selected vector and raster layers in QGIS to a user-defined CRS. It uses the "Reproject Layer" and "Assign Projection" tools, reprojecting layers and adding them as temporary layers, ideal for standardizing spatial data.
Subcatchment-from-Raster
A Python script for automating catchment delineation in QGIS from a raster layer using WhiteboxTools. The script fills depressions, generates isobasins, and vectorizes them for integration into geospatial workflows.
Vector-to-Raster-Batch-process
A Python script to automate the conversion of vector layers to raster layers in QGIS, designed to simplify batch processing with consistent settings for multiple fields