![]() | This Lua module is used on approximately 2,100 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This module implements the grid reference scheme for Canada's National Topographic System. It contains functions that will determine the NTS map sheet ID for a given set of coordinates, as well as the name of the map sheet. The database of map sheet names can be found in Module:Canada NTS/data, and is sourced directly from Natural Resources Canada's Toporama page.
Functions:
These two functions can be called from the same invoke.
Optional parameters:
If lat and lon are omitted, the module will fetch its coordinates from the Wikidata item corresponding to the article in which its invoke has been transcluded.
Implements {{Canada NTS Map Sheet}}