Template:Coord-doc-dim: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Stepheng3
(add hemisphere example; format examples into a wikitable, sorted from large to small)
meta>Stepheng3
(clarify)
Line 1: Line 1:
An alternative to <code>scale:</code>, <code>dim:</code> defines the [[diameter]] of a circle in meters centered on the coordinate. The Geo Hack mapping tool selects map scales best able to display the circle. <code>dim:</code> is particularly useful when geo-coding linear features and areas. <code>scale:</code> overrides <code>dim:</code> when both are set.
The <code>dim:</code> parameter defines the [[diameter]] (in meters) of a viewing circle centered on the coordinate. [https://wiki.toolserver.org/view/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.


{| class="wikitable"
{| class="wikitable"

Revision as of 23:32, 14 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 Markup D Result
Western Hemisphere {{coord|0|N|90|W|dim:10000000}} 10000000 Lua error: callParserFunction: function "#coordinates" was not found.
Ohio {{coord|40.5|-82.5|dim:400000}} 400000 Lua error: callParserFunction: function "#coordinates" was not found.
Dresden {{coord|51.033|13.73|dim:20000}} 20000 Lua error: callParserFunction: function "#coordinates" was not found.
Statue of Liberty {{coord|40.6892|-74.0445|dim:100}} 100 Lua error: callParserFunction: function "#coordinates" was not found.
Mill Ends Park {{coord|45.516194|-122.673226|dim:0.6}} 0.61 Lua error: callParserFunction: function "#coordinates" was not found.