A Project of the Center for Advanced Study in the Visual Arts, National Gallery of Art
History of Early American Landscape Design

Template:Coord-doc-dim

[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
Revision as of 20:39, September 10, 2013 by Emily Pugh (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The dim: parameter defines the diameter of a viewing circle centered on the coordinate. While the default unit of measurement is metres, the km suffix may be appended to indicate kilometres.

GeoHack uses dim: to select a map scale such that the viewing circle appears roughly 10 centimetres ({{#invoke:Math|precision_format| 3.9370078740157 | 0}} in) in diameter on a 72 dpi computer monitor. If no dim:, type:, or scale: parameters are provided, GeoHack uses its default viewing circle of 30 kilometres (Template:Hid{{#invoke:Math|precision_format| 18.64113576712 | 1-1 }} mi).

Samples
Subject View diameter Markup Result
Western Hemisphere 10,000 kilometres (Template:Hid{{#invoke:Math|precision_format| 6,213.7119223733 | 1-3 }} mi) {{coord|0|N|90|W|dim:10000km}} coord}}
Fatal error: The format of the coordinate could not be determined. Parsing failed.


Ohio 400 kilometres (Template:Hid{{#invoke:Math|precision_format| 248.54847689493 | 1-2 }} mi) {{coord|40.5|-82.5|dim:400km}} coord}}
Fatal error: The format of the coordinate could not be determined. Parsing failed.


Dresden 20,000 metres (Template:Hid{{#invoke:Math|precision_format| 12.427423844747 | 1-1 }} mi) {{coord|51.033|13.73|dim:20000}} coord}}
Fatal error: The format of the coordinate could not be determined. Parsing failed.


Statue of Liberty 100 metres (Template:Hid{{#invoke:Math|precision_format| 328.08398950131 | 1-2 }} ft) {{coord|40.6892|-74.0445|dim:100}} coord}}
Fatal error: The format of the coordinate could not be determined. Parsing failed.


Retrieved from "https://heald.nga.gov/mediawiki/index.php?title=Template:Coord-doc-dim&oldid=2741"

History of Early American Landscape Design contributors, "Template:Coord-doc-dim," History of Early American Landscape Design, , https://heald.nga.gov/mediawiki/index.php?title=Template:Coord-doc-dim&oldid=2741 (accessed October 25, 2021).

A Project of the Center for Advanced Study in the Visual Arts

National Gallery of Art, Washington