GeoZone - a QGIS python plugin allowing to track zones with specific animal diseases
The GeoZone plugin is a tool designed for QGIS users to streamline the management of geographic zones within spatial data. This plugin simplifies tasks related to creating, editing, and storing information about geographic zones, such as disease outbreak areas, wildlife habitats, or quarantine zones.
The plugin introduces a dedicated layer, GeoZone_Layer, to manage geographic zones efficiently. If the layer doesn't exist, the plugin creates an empty one or loads an existing layer at a default location.
Users can easily copy selected geometries from other layers to the GeoZone_Layer. This feature is useful for aggregating specific geographic zones into a centralized layer.
The plugin prompts users to provide metadata for each saved GeoZone_Layer. Metadata includes essential attributes like operation type, country code, local identifier, and accuracy. Users can also add additional metadata fields as needed.
When selecting features from the GeoZone_Layer, the plugin now displays a custom dialog for each feature. This dialog allows users to modify attributes, excluding 'optype' and 'uuid', providing a more intuitive editing experience.
After saving the GeoZone_Layer and its metadata, the plugin conveniently zips all related files (shapefile, metadata JSON, etc.) into a single zip file. This helps users maintain a tidy and organized folder structure for their geographic zone data.
-
Installation:
- Clone the GeoZone repository to your local machine.
-
Activate the Plugin:
- Open QGIS and navigate to the Plugins menu.
- Click on Manage and Install Plugins.
- Browse to the GeoZone plugin and activate it.
-
Accessing GeoZone:
- Once activated, find the GeoZone plugin under the Plugins menu.
-
Creating and Managing GeoZone_Layer:
- Click on GeoZone to access the plugin.
- Follow the prompts to create or manage the GeoZone_Layer.
-
Copying and Editing Features:
- Select features from other layers and copy them to GeoZone_Layer.
- Edit attributes using the custom dialog for selected features in GeoZone_Layer.
-
Saving and Exporting:
- Save GeoZone_Layer and metadata.
- Files are automatically zipped into a neat archive for easy storage.
- Currently, users may encounter an issue with the visual layout of the attribute editing dialog. This will be addressed in future updates.
We welcome contributions and feedback! If you encounter issues or have suggestions, please submit them through the issue tracker.
Happy mapping! 🗺️✨