ഫലകം:Canada NTS Map Sheet

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

This template creates a link to the Canadian Government Geospatial Data Extraction web page to plot a National Topographic System (NTS) map sheet bounding box when the template is given an NTS identifier or latitude and longitude. The bounding box may represent a 1:50,000 scale map sheet or a 1:250,000 scale map sheet. This template will also give the name of the specified NTS map sheet linked to an appropriate Wikipedia article.

This template has a database of 14,138 (1:250,000: 913; 1:50,000: 13,225) maps.

The linking schema this template uses is meant to be provisional, contingent on a solution implemented into WikiMiniAtlas to visualize bounding boxes from lists of coordinates.

Usage[തിരുത്തുക]

NTS zones and map series. Legend:
  High Arctic zone
  Arctic zone
  Southern zone

The most basic use of this template is without parameters. In that case, the template will attempt to fetch latitude and longitude from the article's Wikidata entry:

{{Canada NTS Map Sheet}}

The template supports a variety of parameters to taylor its output to a specific need. The map's bounding box can be specified using an NTS identifier or an explicit latitude/longitude pair.

Basic use[തിരുത്തുക]

Using an NTS identifier[തിരുത്തുക]

{{Canada NTS Map Sheet|<series>|<area>|<sheet>}}

Where:

  • <series> is the first part of the ID string, which is a one-to-three digit number indicated on the map at right; leading zeros ignored
  • <area> is the second part of the ID string, which is a letter from A to P if <series> is found in the Southern zone, or A to H if <series> is found in the Arctic or High Arctic zone; must be uppercase
  • <sheet> is the third part of the ID string. If <sheet> is a number from 1 to 16 (leading zeros ignored), the template returns a bounding box for a 1:50,000 scale map. If <sheet> is omitted, the template returns a bounding box for a 1:250,000 scale map

Using latitude and longitude[തിരുത്തുക]

{{Canada NTS Map Sheet|lat=<lat>|lon=<lon>}}

Where:

  • <lat> is the north latitude of a given location in decimal notation
  • <lon> is the west longitude in decimal notation

The parameters <lat> and <lon> can be omitted. If they are, the coordinates will be obtained from the Wikidata entry for the current article.

<lat> and <lon> are normalized so that they are north latitude and west longitude. For example, when given the coordinates of Novosibirsk (55°03′N 82°57′E / 55.050°N 82.950°E / 55.050; 82.950), the template will provide a link to an untitled map in Ontario at the south shore of Hudson Bay:

{{Canada NTS Map Sheet|lat=55.050|lon=82.950}}43O2 (untitled)

Optional parameters[തിരുത്തുക]

The template supports three optional parameters:

|area= – when set to yes, creates a link to a 1:250,000 scale map sheet; defaults to no so the template creates a link to a 1:50,000 scale map sheet
|link= – when set to yes (the default), creates a link according to the setting of |area=
|name= – when set to yes (the default), displays Natural Resources Canada's name for the map sheet, wikilinked to the corresponding Wikipedia article

Examples[തിരുത്തുക]

Using an NTS identifier[തിരുത്തുക]

For the 1:50,000 scale map that encompasses Nanaimo, British Columbia:

{{Canada NTS Map Sheet|92|G|4}}92G4 Nanaimo

For the 1:250,000 scale map that encompasses Nanaimo:

{{Canada NTS Map Sheet|92|G}}92G Vancouver
{{Canada NTS Map Sheet|92|G|4|area=yes}}92G Vancouver

For the 1:50,000 scale map that encompasses Nanaimo without a link:

{{Canada NTS Map Sheet|92|G|4|link=no}} → 92G4 Nanaimo

For the 1:50,000 scale map that encompasses Nanaimo without a wikilink:

{{Canada NTS Map Sheet|92|G|4|name=no}}92G4

leading zeros ignored:

{{Canada NTS Map Sheet|092|G|04}}92G4 Nanaimo

Using latitude and longitude[തിരുത്തുക]

For the 1:50,000 scale map that encompasses Nanaimo, British Columbia:

{{Canada NTS Map Sheet|lat=49.164|lon=123.936}}92G4 Nanaimo

For the 1:250,000 scale map that encompasses Nanaimo:

{{Canada NTS Map Sheet|lat=49.164|lon=123.936|area=yes}}92G Vancouver

When given both an NTS identifier and latitude and longitude, the template will use the NTS identifier and ignore the latitude and longitude. For example, this template has the NTS identifier for Nanaimo and latitude and longitude for Toronto (43°38′33″N 79°23′14″W / 43.6426°N 79.3871°W / 43.6426; -79.3871):

{{Canada NTS Map Sheet|lat=43.6426|lon=-79.3871|92|G|4}}92G4 Nanaimo

Error messages[തിരുത്തുക]

This template has crude error reporting:

lat/long input fail – this message is emitted when:
  • the normalized coordinates specify a location that lies outside of the Canadian National Topographic System (see the map). For example, the template emits an error message when given the coordinates of Helena, Montana:
    {{Canada NTS Map Sheet|lat=46.592|lon=-112.035}}lat/long input fail
  • when one or both of |lat= and |lon= are missing and wikidata does not have coordinates for the article where this template is used. For example, this template emits an error message here because this template's documentation page does not have coordinates at wikidata:
{{Canada NTS Map Sheet|lat=|lon=}}lat/long input fail
invalid NTS series input – this message is emitted when the first positional parameter is not a map series number found in File:NTS Zones and Map Series Numbers.png
invalid NTS area input – this message is emitted when the second positional parameter is not in the range of A–P (
  Southern zone
) or A–H (
  Arctic
and
  High Arctic zones
)
invalid NTS sheet input– this message is emitted when the third positional parameter is not a number in the range of 1–16
"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Canada_NTS_Map_Sheet&oldid=3766583" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്