Template:Coord-doc-dim: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser
(10 cm is exactly the number, but Google maps scale is messed up and the scale stuff is just a hack for now)
meta>Stepheng3
(mapping services usually don't provide the precise scale requested)
Line 1: Line 1:
The <code>dim:</code> parameter defines the [[diameter]] (in meters) of a viewing circle centered on the coordinate. [[tswiki:GeoHack|GeoHack]] uses <code>dim:</code> to select a [[Scale (map)|map scale]] such that the viewing circle appears 10 cm in diameter on a 72 dpi computer monitor.
The <code>dim:</code> parameter defines the [[diameter]] (in meters) of a viewing circle centered on the coordinate. [[tswiki:GeoHack|GeoHack]] uses <code>dim:</code> to select a [[Scale (map)|map scale]] such that the viewing circle appears roughly 10 cm in diameter on a 72 dpi computer monitor.


If [[#scale:N|scale:]] is set, it overrides any <code>dim:</code> setting.
If [[#scale:N|scale:]] is set, it overrides any <code>dim:</code> setting.

Revision as of 21:46, 16 October 2009

The dim: parameter defines the diameter (in meters) of a viewing circle centered on the coordinate. GeoHack uses dim: to select a map scale such that the viewing circle appears roughly 10 cm in diameter on a 72 dpi computer monitor.

If scale: is set, it overrides any dim: setting.

Samples
Subject D Markup Result
Western Hemisphere 10000000 {{coord|0|N|90|W|dim:10000000}} Lua error: callParserFunction: function "#coordinates" was not found.
Ohio 400000 {{coord|40.5|-82.5|dim:400000}} Lua error: callParserFunction: function "#coordinates" was not found.
Dresden 20000 {{coord|51.033|13.73|dim:20000}} Lua error: callParserFunction: function "#coordinates" was not found.
Statue of Liberty 100 {{coord|40.6892|-74.0445|dim:100}} Lua error: callParserFunction: function "#coordinates" was not found.
Mill Ends Park 0.61 {{coord|45.516194|-122.673226|dim:0.6}} Lua error: callParserFunction: function "#coordinates" was not found.