# Metadata for Survey Management System QGIS Plugin

[general]
name=Survey Management System
qgisMinimumVersion=3.0
qgisMaximumVersion=3.99
description=Digital archiving system for Nigerian cadastral survey records with DXF import, AI data extraction, coordinate/traverse calculations, document management, PostgreSQL/PostGIS integration, and PlotAccess — a road-aware, exact-area cadastral subdivision engine.
version=2.0.2
author=ASTROMAT GEO-SERVICES
email=ugwusochukwuma@gmail.com

about=Comprehensive digital archiving system for Nigerian survey records, now with PlotAccess: an automated, road-aware cadastral subdivision engine.

  FEATURES:
  - PlotAccess — road-aware, exact-area cadastral subdivision, with
    automatic road layout and hard road-access enforcement
  - AutoCAD DXF/DWG import with AI-powered metadata extraction
  - Bearing and distance traverse calculator (WCB and quadrant, DMS input)
  - 1:5000 Nigerian Survey Regulations precision ratio check
  - Coordinate input with PostGIS spatial storage
  - Document upload with MD5 checksum integrity verification
  - Three-tier access control (superuser, surveyor, viewer)
  - Full audit trail of all actions
  - Global search across all database tables
  - Adjoining survey boundary detection
  - First-run setup wizard (installs psycopg2, creates database automatically)

  REQUIREMENTS: PostgreSQL 12+ with PostGIS extension.

tracker=https://github.com/Sochukwumaobim/surveymanagement/issues
repository=https://github.com/Sochukwumaobim/surveymanagement
homepage=https://github.com/Sochukwumaobim/surveymanagement

hasProcessingProvider=no

changelog=
    Version 2.0.2 (August 2026):
    FIX: DXF import in the Parcellation Module (PlotAccess) never
         actually installed ezdxf on a fresh system -- it only tried a
         bare import twice, then told the user to go use the *main*
         plugin's DXF import instead. That only "worked" because the
         main plugin was the one place that actually called the
         installer. Parcellation's DXF import now calls the same
         installer directly and is fully self-contained -- no need to
         open the main plugin first

    Version 2.0.1 (August 2026):
    FIX: DXF import in PlotAccess opened files in binary mode, but
         ezdxf.read() requires a text stream -- every DXF import failed
         with "a bytes-like object is required, not 'str'"
    FIX: ezdxf's dependency installer used --no-deps, skipping numpy,
         pyparsing, fontTools, and typing_extensions -- all four are
         required just to import ezdxf, regardless of which features
         are used, so any environment without them already present
         (independently of this plugin) could never complete a DXF
         import no matter how many times ezdxf was reinstalled
    FIX: dependency availability checks only verified an "ezdxf" folder
         existed on disk, never that it could actually be imported --
         so a broken install could be reported as working
    FIX: DXF-extracted coordinates could be numpy.float64 rather than
         plain float; normalized at the point of extraction

    Version 2.0.0 (August 2026):
    NEW: PlotAccess — road-aware, exact-area cadastral subdivision engine
    NEW: Automatic road layout — roads are computed by the engine, no
         manual road drawing required
    NEW: Hard road-access constraint — every plot must front a real
         road corridor; landlocked plots resolved automatically
    NEW: Exact target area on the large majority of plots via
         Brent's-method root-finding, not approximate rounding
    NEW: Parcellation dialog — paste/import perimeter coordinates,
         configurable plot area, frontage, road width, cross-road spacing
    NEW: Colour-coded plan output with compliant/edge plot status
    NEW: Area schedule and setting-out coordinate tables
    NEW: Export to DXF, Excel, or a branded PDF report; direct print
    FIX: Corrected a font double-scaling bug in the PDF report generator
    FIX: Redesigned PDF report layout — branded header/footer, page
         numbers, zebra-striped tables, colour-coded status

    Version 1.2.0 (April 2026):
    NEW: AutoCAD DXF/DWG import — extract beacon coordinates, traverse
         legs, bearings, distances and metadata from AutoCAD plan files
    NEW: AI-powered metadata extraction (plan number, owner, surveyor,
         LGA, state, date) via hosted server — no API key needed
    NEW: DXF import preview dialog — review and confirm before loading
    NEW: First-run setup wizard — installs psycopg2 and creates database
         automatically, no command line required
    NEW: User login with username and password (default: admin / admin123)
    NEW: Three-tier access control — superuser, surveyor, viewer roles
    NEW: Full audit trail in audit_log table
    NEW: User Administration panel for superusers
    NEW: Traverse precision ratio (1:5000 Nigerian Survey Regulations)
    NEW: Adjoining survey boundary detection via PostGIS ST_DWithin
    NEW: Custom CRS input with live EPSG validation
    FIX: Traverse delete button index bug corrected
    FIX: Documents tab index resolved using indexOf()

    Version 1.0.0 (March 2026):
    Initial release — survey metadata, coordinates, traverses,
    documents, PostgreSQL/PostGIS integration, global search.

tags=survey, cadastral, Nigeria, bearing, traverse, DXF, AutoCAD, PostgreSQL, PostGIS, land survey, coordinate, cadastral subdivision, parcellation, road-aware, PlotAccess, land parcel

category=Database
icon=icon.png

# Set to False — plugin is stable and tested
experimental=False

# Not deprecated
deprecated=False

server=False
