Plantilya:Geobox locator Australia New South Wales/doc

Template:Geobox locator Australia New South Wales is a map definition which can be used to overlay a locator dot on an equirectangular projection map of New South Wales 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 New South Wales

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

map = Australia New South Wales 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 = -27.9

Latitude at bottom edge, in decimal degrees: 

bottom = -37.8

Longitude at left edge, in decimal degrees:

left = 140.6

Longitude at right edge, in decimal degrees:

right = 153.9

Height/width ratio of the calibrated image:

ratio = 0.8859

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

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

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

  • At the default image height of 227 pixels (256 × height/width ratio), that is 0.0436 degrees per pixel.
  • At an image height of 886 pixels (1000 × height/width ratio), that is 0.0112 degrees per pixel.

Example usba

Sydney
Tiganos 33°51′36″S 151°12′40″E / 33.86000°S 151.21111°E / -33.86000; 151.21111
{{Geobox
| name = Sydney
| lat_d=33   | lat_m=51  | lat_s=36  | lat_NS=S
| long_d=151 | long_m=12 | long_s=40 | long_EW=E
| map_locator = Australia New South Wales
| map = Australia New South Wales location map.svg
}}

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 New South Wales" does not exist.

See also usba