Skip to content

Cookie755233/PyQGIS-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

demo picture

The repository is made with the intention of assisting users in streamlining repetitive tasks that might otherwise consume hours or even days when performed manually, primarily focuses on day-to-day workflow. For instance, saving all layers within the same group to a specific format, execute a series of functions across the whole groups, etc.

Of course, no single template that suits for all, as individual needs can vary significantly. However, I plan to continually update and expand the repository with additional snippets over time.

Additionally, all feedbacks are welcomed, so feel free to suggest changes by forking this repository, creating a pull request, or opening an issue. A big thank you to all who have contributed to enhancing these snippets!

User Manual

Snippets are under the snippets folder, the code should only be run under QGIS python console.

Prerequisites

  • QGIS (version 3.26 Buenos Aires or above)
  • Python (version 3.7 or above)

Setup and Usage Guidelines

Clone the repo

git clone https://github.com/Cookie755233/PyQGIS-Snippets.git
  1. Select the python file under snippets that suits your current workflow, replace a few variable that runs on your local machine.
  2. QGIS -> Python Console -> Open snippet to use
  3. Run and have a productive day!

Caveats

I am not experienced in script development, hence files in the ‘scripts’ folder is not actively maintained. As a result, users might encounter unexpected behaviors or crashes. Please be aware of the situation and use carefully. If you encounter any issues or have suggestions for improvement, feel free to create a pull request. Your input is valuable, and I'll be happy to review and collaborate on refining the script.

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag suggestion or bug report. All contributions or feedbacks are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Acknowledgments

For in-depth guide, please refer to the following documentation.

About

Some Useful Snippets for Daily Usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages