Extension:Gis/geo tag

Geo tag
The &lt;geo&gt; tag allows entry of geographical coordinates in style with RFC1876. For example, specifying degrees, minutes and seconds of latitude and longitude:

&lt;geo&gt;48 46 36 N 121 48 51 W&lt;/geo&gt;

All coordinates should be referenced to WGS84.

Variations of the above allows specification of degrees and minutes, and degrees only. Decimals can be added to increase presision. Additional meta-data can also be specified as attributes for the location, like this:

&lt;geo&gt;48 46 36 N 121 48 51 W type:mountain region:US scale:100000&lt;/geo&gt;

In the rendered article, the tag will be replaced with 48&deg;46'36N 121&deg;48'51W, which is also a Wikilink to a page of map resources for that point.

Coordinates specified in RFC2426 format are also supported, i.e. two signed, decimal numbers separated by a semicolon, indicating latitude North and longitude East, respecitvely.

In addition to a point, the tag can also specify a bounding box by giving two, opposite corner points, like this:

&lt;geo&gt;48 45 N 121 47 W to 48 47 N 121 49 W&lt;/geo&gt;

Attributes
Following the geographical coordinate, further parameters can optionally be supplied. Attributes are:

type:T
Sets the type of this location, which will be used for the reverse mapping of the points. This will also influence the default map scale. Types are: The type information will be stored in the database.

scale:N
Sets the desired map scale as 1:N. This will override the default scale. The scale: prefix can be omitted.

region:R
Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. The region should be supplied as either a two character en:ISO 3166-1 alpha-2 country code, or an en:ISO 3166-2 region code.

When a region is specified, for the map resource, the page Wikipedia:Map sources/RR will be used if it exists. RR is the two character country code.

globe:G
Specifies other worlds than en:earth. Such as the en:Moon. For the map resource, the page Wikipedia:Map sources/G will be used. This information is stored in the database.

page:P
Specify an alternative page for map sources, in the form of Wikipedia:Map sources/P. The page attribute will override region and globe specifications with regards to which map source sub-page is used.

HTML meta tags
When rendered in HTML, articles with coordinates will get a 'geo.position' meta tag, making it compatible with Internet geographic resources, such as http://geourl.org/. The region attribute, if stated, will appear in a 'geo.region' meta tag.