Pinned Repositories
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.
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.
Rasterize-Vectors-ARR
Rasterize shape file vectors(2D zones) from Infoworks ICM to Hazard ARR, Speed and Depth
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.
ashainp's Repositories
ashainp/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.
ashainp/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.
ashainp/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.
ashainp/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.
ashainp/Rasterize-Vectors-ARR
Rasterize shape file vectors(2D zones) from Infoworks ICM to Hazard ARR, Speed and Depth
ashainp/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.
ashainp/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.