https://github.com/gacarrillor/qgis-resources
My repo for sharing PyQGIS scripts via 'QGIS Resource Sharing' plugin
https://github.com/gacarrillor/qgis-resources
processing pyqgis python qgis script
Last synced: about 1 year ago
JSON representation
My repo for sharing PyQGIS scripts via 'QGIS Resource Sharing' plugin
- Host: GitHub
- URL: https://github.com/gacarrillor/qgis-resources
- Owner: gacarrillor
- License: gpl-3.0
- Created: 2016-09-21T19:35:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T01:40:27.000Z (over 4 years ago)
- Last Synced: 2025-03-25T12:51:03.431Z (about 1 year ago)
- Topics: processing, pyqgis, python, qgis, script
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QGIS-Resources
My collection of QGIS resources shared with the community. Hope you find them useful!
LICENSE: GNU GPL v.3.0
## Collections
### Processing Scripts (PyQGIS) by Germán Carrillo
- **copy_vector_layer.py**
Use this script to create a full copy of a vector layer. Handy when you need to modify data but you feel safer testing the modifications on a copy first.
- **edit_in_place_script.py**
This script can be taken as an example of a script that edits a layer in-place. That is, a script that modifies features from the input layer, instead of generating a copy of the layer.
- **export_composers_of_multiple_projects.py**
This script allows you to export the composers of all the QGIS projects that are inside a base folder.
It's based on the 'Maps Printer' plugin by [Harrissou Sant-anna](https://github.com/DelazJ), which is required to run the script.
- **vector_overlaps_by_class.py**
Extends `native:calculatevectoroverlaps` (Overlap analysis) to accept a single overlay layer with classes and generate a table with overlap areas and percentages by class.
## Installation
1. Install the `QGIS Resource Sharing` plugin from QGIS plugin repository.
2. Open the `QGIS Resource Sharing`'s main window and go to `Settings` --> `Add repository...`.
3. Set the repository name and URL like this:
+ Name: `Germap's repo`
+ URL: https://github.com/gacarrillor/QGIS-Resources.git

4. Still in the `QGIS Resource Sharing`'s main window, go to `All collections` and search for `pyqgis`.
5. Select the item "Processing Scripts (PyQGIS) by Germán Carrillo" and click on `Install`.
That's it! A confirmation window should tell you you have installed several Processing scripts, which you can access from the Processing panel in QGIS. Enjoy!