Template:BC Basemap

From VOC Wiki
Revision as of 20:39, 8 July 2008 by imported>ScottN
Jump to navigation Jump to search

{{#if:| Expression error: Unrecognized punctuation character "{".,49.955003599712,-Expression error: Unrecognized punctuation character "{".,50.044996400288&WIDTH=1000&HEIGHT=1000&FORMAT=PNG BC Basemap| [Expression error: Unrecognized punctuation character "{".&HEIGHT=2222.4&FORMAT=PNG BC Basemap}}

Parameters:

There are 2 options to specify the bounding box. Either use lat, long, width and height or use north, south, east and west.

  • lat: lattitude of the center of the map (default:50.00)
  • long: longitude of the center of the map (default:123.00}
  • height: height of the map in km (default:10km)
  • width: width of the map in km (default:10km)
  • scale: map scale in pixels / km (default:100 pixels/km)
  • link: text to appear in the link
  • north: lattitude of top of bounding box
  • south: lattitude of bottom of bounding box
  • east: lattitude of right side of bounding box
  • west: lattitude of left side of bounding box

calculation notes

  • 1 nautical mile = 1.85200km
  • 1 degree lattitude = 60 nautical miles = 111.12km
  • 1 degree longitude = 111.12km * cos (lattitude)

test calculations:

  • 50.044996400288
  • 49.955003599712
  • -Expression error: Unrecognized punctuation character "{".
  • -Expression error: Unrecognized punctuation character "{".
  • 1000
  • 1000
  • 2222.4
  • Expression error: Unrecognized punctuation character "{".
  • {{#const:pi}}
  • {{#cos: (50*{{#const:pi}}/180)}}

Known Layers

For help with layer names, see online mapping#Provincial Basemap WMS