Plantilya:Geobox locator Australia Northern Territory/doc

Template:Geobox locator Australia Northern Territory is a map definition which can be used to overlay a locator dot on an equirectangular projection map of Northern Territory in Australia. The markers are placed by latitude and longitude coordinates on a map image which matches the borders defined by this template.

Usage usba

This template is used by Template:Geobox map and Template:Geobox2 map, supportive templates for infoboxes in the Category:Geobox series.

The {{Geobox}} template uses this map definition when it includes:

map_locator = Australia Northern Territory

For the locator dot to be correctly placed, {{Geobox}} must also include:

map = Australia Northern Territory location map.svg (or one of the other images shown below)

Calibrated map usba

The map definition is calibrated to the first image shown below. It will only work with other map images which share the same border coordinates. Plantilya:Stack Plantilya:Stack Plantilya:Stack

Map definition usba

Map definition Map precision

Latitude at top edge, in decimal degrees:

top = -10.6

Latitude at bottom edge, in decimal degrees: 

bottom = -26.5

Longitude at left edge, in decimal degrees:

left = 127.5

Longitude at right edge, in decimal degrees:

right = 139.5

Height/width ratio of the calibrated image:

ratio = 1.39065

Longitude: from West to East this map definition covers 12 degrees.

  • At the default image width of 256 pixels, that is 0.0469 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.012 degrees per pixel.

Latitude: from North to South this map definition covers 15.9 degrees.

  • At the default image height of 356 pixels (256 × height/width ratio), that is 0.0447 degrees per pixel.
  • At an image height of 1391 pixels (1000 × height/width ratio), that is 0.0114 degrees per pixel.

Example usba

Darwin
Tiganos 12°27′S 130°50′E / 12.450°S 130.833°E / -12.450; 130.833
{{Geobox
| name = Darwin
| lat_d  = 12  | lat_m  = 27 | lat_s  = | lat_NS  = S
| long_d = 130 | long_m = 50 | long_s = | long_EW = E
| map_locator = Australia Northern Territory
| map = Australia Northern Territory location map.svg
| coordinates_no_title = 1
}}

Calibration tests usba

Lua error in Module:Location_map/multi at line 73: Unable to find the specified location map definition: "Module:Location map/data/Australia Northern Territory" does not exist.

See also usba