[general]
name=LVT4U
qgisMinimumVersion=3.28
qgisMaximumVersion=3.99
description=All-in-one GIS toolkit: thematic maps, lot labels, MBTiles, KML/KMZ, basemaps, font conversion, CRS tools, map layouts, Excel-to-GIS, and EUDR export.
version=2.2.10
author=Loc Vu Trung
email=locvutrung@gmail.com

about=LVT4U is a comprehensive QGIS plugin suite designed for Vietnamese forestry, land management, and international compliance workflows.

    Key Features:
    • Thematic Map — Generate categorized/graduated maps from attribute data
    • Lot Labels — Create parcel labels for cadastral maps
    • MBTiles — Export map tiles for offline mobile use
    • KML/KMZ — Convert layers to Google Earth format with styled popups
    • Excel to GIS — Import Excel/CSV spreadsheets as GIS layers
    • Basemap — Load Google Maps, Satellite, Hybrid, OpenStreetMap tiles
    • Font Converter — Convert between Unicode, TCVN3, and VNI encodings
    • CRS Tools — Transform coordinates with VN-2000 province support
    • Map Layout — Template-driven A5–A0 print/slide layouts with grid
    • EUDR Export — Generate GeoJSON compliant with EU Regulation 2023/1115

    Built with cartographic science and international standards.
    Supports Vietnamese and English interface.

tracker=https://github.com/locvutrunglvt/LVT-QGIS/issues
repository=https://github.com/locvutrunglvt/LVT-QGIS
homepage=https://github.com/locvutrunglvt/LVT-QGIS

tags=vietnam,forestry,thematic,layout,kml,eudr,geojson,mbtiles,crs,vn2000,basemap,font,cadastral,land,excel

category=Vector
icon=icon.png

experimental=False
deprecated=False

hasProcessingProvider=no
server=False

changelog=
    2.2.10 - New: Layer Editor module — manage, rename, group, style layers
           - Feature: Auto-group layers by geometry (Polygon/Line/Point/Raster)
           - Feature: Display name suggestions (Vietnamese/English)
           - Feature: Style from QGIS Style Manager filtered by geometry type
           - Feature: Raster presets (NDVI, Hillshade, RGB, False Color)
           - Feature: Save/Load layer configuration presets
           - Feature: Group layers in Panel by geometry type
    2.2.9 - Fix: Layout self.lang crash → use current_language()
          - Fix: Layout self.cmb_orient crash → use radio buttons
          - Fix: Thematic Map self.lang crash on dialog open
          - Fix: OGR type mismatch in categorized renderer (int vs string)
          - Fix: Label round() on text fields (Cannot convert to double)
          - Fix: QVariant import path (qgis.PyQt.QtCore)
          - Feature: LDLR fields auto-uppercase in label expressions
    2.2.8 - Security: Fix Bandit B608 false positives in help_content.py
          - Lint: Remove unused imports (QTextEdit, get_help, get_guide)
          - Lint: Fix blank line violations across all modules
          - Lint: Add missing QHBoxLayout import in legal_docs
          - i18n: Bilingual progress dialogs in map_packager
    2.2.7 - EUDR: Add Species, FarmerID, DataCollectionDate, ProducerCountry fields
          - EUDR: Geometry validation with detailed bilingual error dialog
          - EUDR: Reject unsupported geometry types (LineString, GeometryCollection)
          - EUDR: Comprehensive bilingual help rewrite (8-section guide)
          - EUDR: Help button (❓) added to shared help system
          - Fix: Basemap toolbar button not working in Vietnamese mode
    2.2.6 - Maintenance: Fix W504 and E501 lint errors
    2.2.5 - Maintenance: Fix W503 lint errors
    2.2.4 - Coord Converter: Auto-trigger conversion when clicking Zoom/Marker/Add
    2.2.3 - MBTiles: add basemap toggle (uncheck to export without background)
    2.2.2 - Label: add decimal rounding spinbox (num/den, -1=off)
          - MBTiles: rename Apply→Set Up, bilingual Export button
    2.2.1 - Legend margins now configurable via spinbox (left + bottom)
          - KML dialog: hide LIVE PREVIEW panel on KML→SHP tab
          - Code cleanup: removed duplicate method, fixed all lint warnings
    2.2.0 - KML/KMZ to SHP: complete rewrite with geometry-type-split strategy
          - KML field selection: scan fields with sample data before export
          - Legend block fix: proper sizing, z-order, precise positioning
          - Legend margins: 3mm left from frame, 6mm above sig/frame bottom
          - First-run language selection dialog on initial install
          - Engine: remove template legends before adding native legend
          - Error logging for legend creation failures (QGIS Log panel)
    2.0.7 - Restore 12 missing TCVN codes (39-47, 89-91): total 110 codes
          - Pattern symbology: DT2 triangles, DT1/BC dots, DKH crosshatch
          - Border default 0.1mm black, outline color pure black
          - Fraction labels: Tk.khoanh.lo / Ldlr, dtich (7pt Arial)
          - Field auto-detect: ldlr/LDLR → LDLR_VT mapping
          - Popup "Thiết lập hoàn thành" after Apply
          - QML labeling embedded in all 8 style files
    2.0.2 - Fixed ALL num_codes to match TCVN 11565 Appendix E (was offset)
          - Fixed 12 HEX colors: DKH, DT2, BC1, TXDG, RLB1, RLK, DT1
          - Fixed appendix_e.json duplicate RNP1 -> RNN1
          - 3-way audit: 0 errors (TCVN vs TT33 vs TT16)
    2.0.1 - Full bilingual UI for thematic map dialog (VN/EN)
          - Radio buttons: TT 33/2018 replaces TCVN 11565 label
          - Dynamic tab titles: LDLR_Ref(55/98), Phụ lục/Appendix 1
          - Regenerated 8 QML files: 55 cats (TT16) + 98 cats (TT33)
          - Fixed 8 empty name_en: TXDG, RNM, RNP, RTNC, CDC, TGNN, TCDD
          - Appendix tab rebuilds on standard toggle
    2.0.0 - TT16/2023 migration: dual-standard support
          - New ldlr_tt16.json: 55 official TT16 codes with color mapping
          - Updated ldlr_master.json: 98 FRMS TT33 codes (was 93)
          - Added 5 missing TT33 codes: NRLG, NRLB, NRLN, NRLK, NRLP
          - Fixed 13 renamed TT33 symbols (RNMG→NMG, RNN→NN, etc.)
          - Dialog: auto-switches data source (55 vs 98) by standard
          - Appendix tab: 15 TT16 groups / 12 TT33 groups
    1.9.9 - Bundle local TCVN PDFs, deprecate external links
          - Responsive 90%% screen height for MBTiles/EUDR/KML dialogs
          - Fix OpenSans font 404 in tcvn11565_style.xml
    1.9.0 - Comprehensive plugin suite with 10 integrated modules
          - Thematic Map: categorized/graduated map generation
          - Lot Labels: parcel labeling for cadastral maps
          - MBTiles: offline tile export
          - KML/KMZ: Google Earth export with styled popups
          - Excel to GIS: spreadsheet import
          - Basemap: Google/OSM tile loading
          - Font Converter: Unicode/TCVN3/VNI conversion for MapInfo
          - CRS Tools: VN-2000 coordinate transformation
          - Map Layout: template-driven A5-A0 layouts
          - EUDR Export: EU deforestation regulation compliance
    1.0.0 - Initial release: umbrella plugin framework

