Template:BC Basemap

From VOC Wiki
Jump to: navigation, search

BC Basemap

Notes

The WMS server limits the maximum size of the image.

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:5km)
  • width: width of the map in km (default:5km)
  • scale: map scale in pixels / km (default:110 pixels/km). In order to get the most detailed contour lines (20m intervals), a minimum scale of 110 pixels/km is required.
  • 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
  • -123.0701479868
  • -122.9298520132
  • 600
  • 600
  • 2666.88
  • 1710.6691934391
  • 3.14159265358979323846
  • 0.64278760968654

Known Layers

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