PROJECTS_HUB
// SYSTEM_ID: QGIS_PLUGIN_04 // STATUS: BETA // PYQGIS_3.x

PyQGIS LADM-COL
Automation Plugin

Custom QGIS plugin that automates LADM-COL V3 cadastral compliance. Batch parcel renaming, coordinate transformation, topology QA, and direct PostGIS export — all in one toolbar click.

PLUGIN_CORE_SNIPPET // ladm_col_validator.py
from qgis.core import QgsProject, QgsVectorLayer
from shapely.geometry import shape
import geopandas as gpd

class LadmColValidator:
    def run_full_validation(self, layer: QgsVectorLayer):
        # 1. Export to GeoDataFrame
        gdf = gpd.GeoDataFrame.from_qgis(layer)
        # 2. Validate LADM-COL V3 required fields
        errors = self.check_schema(gdf, schema="LADM_COL_V3")
        # 3. Topology check — overlaps & gaps
        topology_errors = self.check_topology(gdf)
        # 4. Write to PostGIS if no critical errors
        if not topology_errors.critical:
            self.export_postgis(gdf, table="predios_ladm")
🔌
One-Click QA
Full LADM-COL V3 validation with a single toolbar button. Results appear as styled QGIS layer.
🏷️
Batch Rename
Auto-rename predios to IGAC convention based on municipality code + sequential numbering.
🗄️
PostGIS Export
Validated features pushed directly to PostGIS with spatial index and audit log entry.
🌐
CRS Enforcer
Automatically reprojects any layer to EPSG:4326 / Magna-Sirgas as required by IGAC.
INSTALLATION // QGIS_PLUGIN_MANAGER
1. Open QGIS → Plugins → Manage and Install Plugins
2. Search: DGZ_LADM_COL_Validator
3. Install → Restart QGIS
4. DGZ toolbar appears automatically in GIS panel
VIEW ON GITHUB BACK TO MAIN