Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Canada NTS/doc
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{high-use|1800}} == Usage == 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 [https://atlas.gc.ca/toporama/en/index.html Toporama] page. Functions: *''grid'': Calculates and displays the NTS map sheet ID. *''name'': Displays the name of the NTS map sheet. These two functions can be called from the same invoke. Optional parameters: *lat=''lat'', where ''lat'' is a north latitude in decimal degrees. *lon=''lon'', where ''lon'' is a west longitude in decimal degrees. *''link'': Wraps the NTS map sheet ID in a link to a visualizer on Natural Resources Canada's website. *''area'': Omits the 1:50,000 scale map sheet number, giving a 1:250,000 scale map area ID. 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 {{tlx|Canada NTS Map Sheet}} <noinclude> [[Category:Module documentation pages]] </noinclude>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:High-use
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tlx
(
edit
)
Module:Arguments
(
edit
)
Module:Template link general
(
edit
)