Compatible with DokuWiki
This plugin will render a geotag as a visible and styled geo microformat and schema.org geo element as well as render it as meta tags and ICBM in the page header. The rendering of the microformat may be suppressed by the wiki admin.
A comprehensive summary on geotagging is given on http://www.geotagicons.com.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
It's not required, but having the geophp will enable calulation, storage and tagging of geohashes, having the spatialhelper plugin will enable searching for nearby pages.
See the plugin in action on the demonstration site and here. The sample pages show all the styles available with the plugin.
Minimal syntax:
{{geotag>lat:51.565696, lon:5.324596}}
Full syntax:
{{geotag>lat=52.132633, lon=5.291266, alt=9, placename:Sint-Oedenrode, region:NL-NB, country:NL, hide}}
geotag_hide
configuration property, optional ( does not take a value)
The lat
and lon
elements are mandatory, the other elements are optional and may be omitted. Elements must be separated by a comma (,
) either a colon (:
) or an equals sign (=
) may be used to separate the values (lat:21.2
is the same as lat=21.2
). Since the comma is used as a delimiter you cannot use it in the text (the placename would be the only one where that makes sense anyway).
If you need to look up the values for a tag you can use the Geo Tag Generator website (at some point in time the plugin may provide this lookup functionality by itself)
There are several configuration options:
placename
value;placename
value as part of the microformat, note that if you use a comma this string will be truncated at the commafindnearby
action provided by the spatialhelperThe complete changelog is available on GitHub