GeoHack
Appearance
Query
- altpage (disabled)
- Request a different page than Template:GeoTemplate
- language
- pagename
- params
- title
params
The D_M_S_N_D_M_S_E, D_M_N_D_M_E, D_N_D_E, or D;D where D is degrees, M is Minutes, S is second, and NS/EW are the directions
- default
- default scale
- globe
- page (unable)
- specify a subpage for map sources
- region
- scale
- type
Replacement variables
- WGS84 Positioning
- {latdegdec}, {londegdec}
- {latdegdecabs}, {londegdecabs}
- {latdeground}, {londeground}
- {latdegroundabs}, {londegroundabs}
- {latdeg_outer_abs}, {londeg_outer_abs}
- {latdegabs}, {londegabs}
- {latantipodes}, {longantipodes}
- {londegneg}
- {latdegint}, {londegint}
- {latmindec}, {lonmindec}
- {latminint}, {lonminint}
- {latsecdec}, {lonsecdec}
- {latsecint}, {lonsecint}
- {latNS}, {lonEW}
- UTM Positioning
- {utmnorthing}, {utmeasting}, {utmzone}
- {utm33northing}, {utm33easting}
- National Grids
- {osgb36ref}
- {osgb36northing}, {osgb36easting}
- {ch1903northing}, {ch1903easting}
- Scaling
| name | used by | internal conversion[1] | units | notes |
|---|---|---|---|---|
| {scale} | Virtual Globe | Use scale: or from dictionary look using type: value | ||
| {mmscale} | Multimap | Dictionary-like lookup | ||
| {altitude} | MSN Maps, Fourmilab, Swissinfo | int( scale * 143/1000000 ), [1, infinity] | ||
| {zoom} | MapQuest, Gule Sider | int(18.0 - log(scale)), [0,9] | ||
| {osmzoom} | OpenStreetMap, Live Search Maps | 18 - ( round(log(scale,2) - log(1693,2)) ), [2, 18] | ||
| {span} | Google Maps, WikiMapia | scale * 1.0 / 1000000 | degrees | FIXME calibration |
- Geographical features
- {type}
- {region}
- {globe}
- Coordinate title
- {pagename}
- {title}
- Misc./Not fully implemented
- {page} - Deprecated
- {geocountry} - same as region:
- {geoa1} - Characters 4 to 8 of region:; Uppercased
Section codes
<div id="GEOTEMPLATE-LOCAL" />
<div id="GEOTEMPLATE-XX">
...
</div>
Notes
- ↑ Many of these conversion are guessed from input values