# This file contains metadata for your plugin.

# This file should be included when you package your plugin.# Mandatory items:

[general]
name=Clear Null Geometry
qgisMinimumVersion=3.0
qgisMaximumVersion=4.99
description=Geometry Doctor: a multi-operation geometry cleaner that removes NULL/empty geometries, fixes invalid geometries, strips duplicate vertices, removes degenerate features, and fixes type mismatches — with detailed reporting and CSV export.
version=1.0.0
author=Mirjan Ali Sha
email=mirjanalisha@gmail.com

about=A comprehensive geometry cleaning toolkit for QGIS vector layers. 
    Features a dropdown toolbar button with five checkable operations: 
    (1) Clear Null Geometries — removes features with NULL or empty geometry, 
    (2) Fix Invalid Geometries — repairs self-intersections and unclosed rings via makeValid(), 
    (3) Remove Duplicate Vertices — strips redundant consecutive vertices, 
    (4) Remove Degenerate Features — deletes zero-area polygons and zero-length lines, 
    (5) Fix Geometry Type Mismatches — removes features whose type doesn't match the layer. 
    All operations are undoable (Ctrl+Z) and produce a detailed report dialog showing per-layer results with impacted feature IDs and CSV export (all attributes + WKT geometry). 
    Steps: 
    1. Select one or more vector layers. 
    2. Use the dropdown arrow on the toolbar icon to enable/disable operations. 
    3. Click the icon to run. 
    * Please give a vote (stars) according to your experiences. Contact: mastools.help@gmail.com.

tracker=https://github.com/Mirjan-Ali-Sha/clear_null_geometry/issues
repository=https://github.com/Mirjan-Ali-Sha/clear_null_geometry
# End of mandatory metadata

# Recommended items:

hasProcessingProvider=no
# Uncomment the following line and add your changelog:
changelog=
    1.0.0 - 2026-08-30
        • Major upgrade: "Geometry Doctor" with dropdown toolbar button
        • Added 4 new operations: Fix Invalid Geometries, Remove Duplicate
          Vertices, Remove Degenerate Features, Fix Geometry Type Mismatches
        • Dropdown menu with checkable operations and tooltips
        • New Report dialog showing per-layer results with impacted feature IDs
        • CSV export of affected features (all attributes + WKT geometry)
        • CRITICAL FIX: deletions now go through the edit buffer (undoable)
        • Fixed locale crash on fresh QGIS profiles
        • Added non-vector layer guard
        • Proper commit error handling with rollback
        • Removed 90 lines of dead code
        • All operations wrapped in edit command for atomic undo

    0.5 - 2026-08-09
        • QGIS 4 and Qt6 compatibility updates
        • Fixed all Bandit security audit issues
        • Separated toolbar introduced
        • Advanced geometry cleaning (NULL and Empty geometries)
        • Advanced messages

    0.1 - 2022-04-03
        • Initial release

# Tags are comma separated with spaces allowed
tags=python, vector, geometry, digitizing, editing, cleaning, nullgeometry, invalid, degenerate, duplicate vertices, geometry doctor

homepage=https://github.com/Mirjan-Ali-Sha/clear_null_geometry/wiki
category=Vector
icon=icon.png
# experimental flag
experimental=False

# deprecated flag (applies to the whole plugin, not just a single version)
deprecated=False

# Since QGIS 3.8, a comma separated list of plugins to be installed
# (or upgraded) can be specified.
# Check the documentation for more information.
# plugin_dependencies=

Category of the plugin: Raster, Vector, Database or Web
# category= Vector, Database

# If the plugin can run on QGIS Server.
server=False
