[general]
name=MGRS Grid
qgisMinimumVersion=3.40
qgisMaximumVersion=4.99
description=MGRS grid with edge labels for the current map view, plus tools to read and go to MGRS coordinates and to make a print layout
about=Adds a toolbar button that builds an MGRS grid (100 m, 1 km, 10 km or 100 km squares) over whatever the map canvas shows, and keeps it up to date as you pan and zoom. Easting labels sit on the grid lines along the top edge of the view and northing labels along the left edge; the 100 km square name is shown in the corner. Every square carries its MGRS reference as an attribute. Works worldwide between 80 S and 84 N, including the irregular zones over Norway and Svalbard. Two more buttons read the MGRS coordinate of a clicked point (copied to the clipboard) and move the map to a typed MGRS coordinate. A fourth button makes a print layout of the view with the MGRS grid, with a choice of paper size, scale, resolution and an optional legend, and an optional NATO style with a black grid, grid numbers on all sides, geographic ticks, three bar scales and datum notes. The grid is a temporary layer per UTM zone; export it to keep it.
version=1.8.0
author=Jussi Mattila
email=jussi@sgeo.fi
homepage=https://github.com/JussiSGEO/MGRS-QGIS-Plugin
repository=https://github.com/JussiSGEO/MGRS-QGIS-Plugin
tracker=https://github.com/JussiSGEO/MGRS-QGIS-Plugin/issues
icon=icon.svg
category=Vector
tags=mgrs,grid,utm,military,coordinates,print
experimental=False
deprecated=False
changelog=1.8.0
    - New level above the 100 km squares: when the view is wider than about 3000 km, the grid zones (6 by 8 degrees) are drawn with their designations, down to a view of the whole globe. Also available as "Grid zones only" in the menu.
    - A grid layer that is switched off in the layer list now stays off when the grid is redrawn.
    - Grid layers are kept and refilled while panning instead of being removed and added again, which is faster and keeps the layer list steady.
    - Fixed: an old grid could stay on screen after zooming out too far.
    1.7.2
    - Fixed: no usable grid was drawn in a view across the 180 degree meridian.
    - Fixed: squares lying across the boundary between two latitude bands (for example 64 N between bands V and W) are now cut at the boundary and carry the correct grid zone designation on each side.
    - Grid layers are now named by grid zone, for example "zone 34V".
    1.7.1
    - NATO style: the north diagram now gives the angle between neighbouring norths, and the grid zone designation and 100 km square are stated once, in the grid reference box.
    1.7.0
    - The print layout now states the magnetic declination, calculated with the World Magnetic Model (WMM2025) for the middle of the sheet and the current date. The NATO style gives the declination with its annual change, the grid-magnetic angle and the rule for converting a magnetic azimuth to a grid azimuth, and its north diagram shows grid, true and magnetic north. A declination can also be typed in by hand.
    1.6.0
    - New NATO style option for the print layout, following the layout conventions of the DGIWG Defence Topographic Map: black grid lines and numbers, grid numbers on all four sides, geographic ticks with latitude and longitude, cyan numbered ticks for a neighbouring UTM zone, three bar scales, geodetic notes, a grid reference box, a WGS 84 banner and a grid north and true north diagram.
    1.5.1
    - Fixed: in QGIS 4, every redraw of the grid added another empty "MGRS grid" group to the layer list.
    - "Remove the grid" now removes the layer group as well.
    1.5
    - Works in QGIS 4 as well as QGIS 3. Code tidied for the plugin repository checks.
