[general]
name=DigDok
qgisMinimumVersion=3.22
qgisMaximumVersion=4.99
description=Basemaps and data layers for the Norwegian cultural-heritage sector
about=DigDok Maps adds one-click menu shortcuts for background maps and Norwegian open-data / cultural-heritage layers, aimed at archaeology and heritage documentation.

    Norwegian sources: Riksantikvaren (kulturminner), Kartverket (topographic cache, Matrikkelen, historical maps, administrative units, elevation), NGU (geology), NIBIO (land resources), Geodata, UNIMUS (Gjenstandsbasen) and ADED (excavation data).

    Global basemaps: Google, Bing, Esri, Carto, OpenStreetMap, OpenTopoMap, F4map and Stadia Maps (incl. the Stamen styles, shaded relief, terrarium and vector tilesets). Stadia layers need a free API key, set from the DigDok menu and stored in the QGIS authentication database. All layers carry attribution.

    Derived from the HCMGIS plugin by Thang Quach (opengeoshub/HCMGIS, GPL-3.0): https://github.com/opengeoshub/HCMGIS
category=Web
version=0.4.1
author=Hallvard Indgjerd
email=hallvard.indgjerd@khm.uio.no
tags=basemap,tiles,xyz,wmts,wms,wfs,web,norway,cultural heritage,archaeology,riksantikvaren,kartverket,stadia,openstreetmap,dem,hillshade
homepage=https://github.com/ikaros-arch/DigDok-Maps
tracker=https://github.com/ikaros-arch/DigDok-Maps/issues
repository=https://github.com/ikaros-arch/DigDok-Maps
experimental=False
deprecated=False
icon=icons/digdok.png
changelog=
    0.4.1 (2026-08-26) — plugins.qgis.org submission fixes
    - Fixed a Bandit B110 finding: the two bare except/pass blocks in
      _set_attribution() now log a warning via QgsMessageLog instead of silently
      swallowing the error.
    - Fixed Qt6 enum-scoping issues flagged by the QGIS Qt6 compatibility checker:
      QgsWkbTypes.PolygonGeometry, QgsBlockingNetworkRequest.NoError and Qgis.Warning
      are now fully qualified (GeometryType/ErrorCode/MessageLevel).

    0.4 (2026-08-26) — ADED server migration and menu regrouping
    - ADED map services moved from the decommissioned arcgis-aded.uio.no to the shared
      arcgis.uio.no server (aded-prod/Hovedtyper); check_urls.py updated to match.
    - Added the ADED Estimerte service (Prosjekt punkt/omriss, Hus omriss/Husdeler).
    - Regrouped the ADED menu by object type instead of by source service: Prosjekt,
      Arkeologisk objekt, Topografisk objekt and Hus are now submenus grouping their
      geometry variants; single-geometry layers stay flat.
    - Out of experimental status.

    0.3 (2026-07-08) — Geodata Online improvements
    - Highlighted Geodata AS usage terms (agreement required; background/presentation use only),
      with an in-menu link to the terms.
    - Added an optional Geodata Online token (QGIS ESRI-token auth); maps still work without one.
    - Per-service Geodata copyright applied to each layer.
    - Distinct menu icons (link / key / plug).

    0.2 (2026-07-08) — QGIS 4 / Qt6 compatibility
    - Ported to the qgis.PyQt Qt5/Qt6 compatibility layer (explicit imports).
    - Declared QGIS 4 compatibility (qgisMaximumVersion=4.99).
    - Code now passes flake8; replaced third-party 'requests' with QGIS's network stack.

    0.1 (2026-07-07) — initial DigDok Maps release (derived from HCMGIS)
    - Norwegian sources: Riksantikvaren (WMS + Geonorge WFS), Kartverket (cache WMTS,
      Matrikkelkart, historiske kart, administrative enheter, hoydedata), NGU, NIBIO,
      Geodata, ADED, UNIMUS.
    - Global basemaps: Google, Bing, Esri, Carto, OpenStreetMap, OpenTopoMap, F4map.
    - Stadia Maps (Stamen Toner/Terrain/Watercolor, Outdoors, shaded relief, terrarium)
      and vector tilesets (landcover, bathymetry); API key stored in the QGIS auth database.
    - Attribution set on all layers.