Template:TaginfoLinks

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

This template is used internally via Template:DescriptionLinks which should be modified and kept in sync with the list of active TagInfo sites.

Usage

Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes
{{TaginfoLinks
| path = 
| aa = 
| ch = 
| cz = 
| fr = 
| gb = 
| hu = 
| ie = 
| in = 
| jp = 
| pl = 
}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
yes/no
yes/no
yes/no
yes/no
yes/no
yes/no
yes/no
yes/no
yes/no
yes/no
 
  • If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.

Parameters

The following parameters are recognised:

  • path: If present, this text is added to the main taginfo URL to allow a specific page or feature to be linked. It may be necessary to urlencode any non-ASCII content, although this seems to be taken care of automatically. (See examples for further details.)
  • aa: If yes, or no value specified, a link will be shown to the main, global taginfo site. If no, no link will be show. However, it's probably not a good idea to change this because other country-specific instances may stop working without prior notice.

Country choices

The following parameters specify which country-specific taginfo sites will be linked to. In each case, specifying yes will cause the link to be shown, no (or no value) will cause it not to be shown. (See User configuration section for additional options.) The following list is trancluded from Taginfo/Sites.

Code Country or region Taginfo site HTTP HTTPS Description Note: Geofabrik has taginfo sites for far more countries, states and regions than listed here, for example https://taginfo.geofabrik.de/africa/algeria etc. See https://osm.rlin.eu/geofabrik/ for a hierarchical overview (click through to smaller regions).

List of Taginfo sites

Code Country or region Taginfo site HTTP HTTPS Description

</noinclude>

  World taginfo.openstreetmap.org yes yes The main taginfo site. It contains OSM data for the whole planet and is updated daily.
ar Argentina taginfo.geofabrik.de/south-america/argentina yes yes Geofabrik Taginfo instance showing tagging statistics only for Argentina.
au Australia taginfo.geofabrik.de/australia-oceania/australia yes yes Geofabrik Taginfo instance for Australia.
by Belarus taginfo.geofabrik.de/europe/belarus yes yes Taginfo instance showing tagging statistics only for Belarus.
ch Switzerland taginfo.osm.ch yes yes Taginfo instance showing tagging statistics only for Switzerland. Updated daily.
co Colombia taginfo.geofabrik.de/south-america/colombia yes yes Geofabrik Taginfo instance showing tagging statistics only for Colombia.
cz Czech Republic taginfo.openstreetmap.cz yes yes Taginfo instance showing tagging statistics only for Czech Republic, based on the Geofabrik extract. Updated daily.
de Germany taginfo.geofabrik.de/europe:germany yes yes Geofabrik Taginfo instance showing tagging statistics only for Germany.
ee Estonia taginfo.geofabrik.de/europe/estonia yes yes Taginfo instance showing tagging statistics only for Estonia.
es Spain taginfo.geofabrik.de/europe/spain
taginfo.geofabrik.de/africa/canary-islands
yes yes Geofabrik Taginfo instance showing tagging statistics only for Spain and Canary Islands.
fi Finland taginfo.geofabrik.de/europe/finland yes yes Taginfo instance showing tagging statistics only for Finland.
fr Metropolitan France taginfo.openstreetmap.fr yes yes Taginfo instance showing tagging statistics only for France mainland. Updated daily.
gb or uk United Kingdom taginfo.openstreetmap.org.uk yes yes Taginfo instance showing tagging statistics only for Great Britain, based on the Geofabrik extract. Updated daily.
ht Haiti taginfo.haiti.fluv.io no no Taginfo instance showing tagging statistics only for Haiti. Not working.
hu Hungary taginfo.openstreetmap.hu yes yes Taginfo instance showing tagging statistics only for Hungary.
in India taginfo.openstreetmap.in yes yes Taginfo instance showing tagging statistics only for India.
ie Ireland taginfo.openstreetmap.ie yes yes Taginfo instance showing tagging statistics only for the island of Ireland. Last update: 2019-10-13.
it Italy taginfo.geofabrik.de/europe/italy/ yes yes Geofabrik Taginfo instance for Italy.
taginfo.geofabrik.de/europe/italy/nord-est yes yes Geofabrik Taginfo instance for Italy nord-est area Please see Geofabrik Download Server for coverage].
taginfo.geofabrik.de/europe/italy/nord-ovest yes yes Geofabrik Taginfo instance for Italy nord-ovest area Please see Geofabrik Download Server for coverage].
taginfo.geofabrik.de/europe/italy/centro yes yes Geofabrik Taginfo instance for Italy centre area Please see Geofabrik Download Server for coverage].
taginfo.geofabrik.de/europe/italy/sud yes yes Geofabrik Taginfo instance for Italy sud area Please see Geofabrik Download Server for coverage].
taginfo.geofabrik.de/europe/italy/isole yes yes Geofabrik Taginfo instance for Italy bigger islands Please see Geofabrik Download Server for coverage].
lv Latvia taginfo.geofabrik.de/europe/latvia yes yes Taginfo instance showing tagging statistics only for Latvia.
jp Japan taginfo.openstreetmap.jp yes yes Taginfo instance showing tagging statistics only for Japan.
ke Kenya taginfo.geofabrik.de/africa/kenya yes yes
ko Flag of South Korea.svg South Korea taginfo.osm.kr yes yes Taginfo instance showing tagging statistics only for South Korea.
mx Mexico taginfo.geofabrik.de/south-america/mexico yes yes Geofabrik Taginfo instance showing tagging statistics only for Mexico.
ne Nepal taginfo.geofabrik.de/asia/nepal yes yes Taginfo instance showing tagging statistics only for Nepal.
nl European Netherlands taginfo.geofabrik.de/europe/netherlands yes yes Geofabrik Taginfo instance for the European part of The Netherlands, see here for the links per province.
nz New Zealand taginfo.geofabrik.de/australia-oceania/new-zealand yes yes Geofabrik Taginfo instance showing tagging statistics only for New Zealand.
pl Poland taginfo.geofabrik.de/europe/poland yes yes Taginfo instance showing tagging statistics only for Poland.
ru Russia taginfo.geofabrik.de/russia yes yes Taginfo instance showing tagging statistics only for Russia.
se Sweden taginfo.geofabrik.de/europe/sweden yes yes Taginfo instance showing tagging statistics only for Sweden.
tw Taiwan taginfo.osm.kcwu.csie.org yes yes Taginfo instance showing tagging statistics only for Taiwan.
ua Ukraine taginfo.geofabrik.de/europe/ukraine yes yes Taginfo instance showing tagging statistics only for Ukraine.
us United States taginfo.geofabrik.de/north-america/us yes yes Taginfo instance showing tagging statistics only for United States of America (USA).
  World taginfo.indoorequal.org yes yes Taginfo instance showing tagging statistics only for indoor feature (with a Key:level tag) for the whole planet and is updated monthly.
other (server currently down, HTTP 500 response) More countries and regions are available: go to taginfo.geofabrik.de/europe and click "Database: Europe".

Links to sites with properly configured HTTPS access are protocol-relative

User configuration

For users who want more personal control over which taginfo sites are linked, these can be set in the user's personal wiki CSS page.

The following instruction ensures that the 'GB' taginfo link is always present, in addition to any others which may normally be listed:

span.taginfo.gb { display: inline !important; }

The following instruction ensures that the 'GB' taginfo link is never present, even when it would otherwise be present:

span.taginfo.gb { display: none !important; }

Complete control can be taken over the list shown: the following instructions specify that all description boxes show just International and Eastern Europe links but any other country site:

span.taginfo { display: none !important; }
span.taginfo.aa,
span.taginfo.cz,
span.taginfo.hu,
span.taginfo.pl { display: inline !important; }

Examples

Please note that these examples will be affected by any changes you have made to your personal CSS page (see User configuration section above).

Wikitext Produces
{{TaginfoLinks}}
taginfo
{{TaginfoLinks
| path = keys/building
| aa = 
| ch = 
| cz = 
| fr = 
| gb = 
| hu = 
| ie = 
| in = 
| jp = 
| pl = 
}}
taginfo
{{TaginfoLinks
| path = tags/sport=pétanque
| aa = yes
| ch = yes
| cz = yes
| fr = yes
| gb = yes
| hu = yes
| ie = yes
| in = yes
| jp = yes
| pl = yes
}}
taginfo · CH · CZ · FR · GB · HU · IN · PL
{{TaginfoLinks
| aa = 
| ch = 
| cz = 
| fr = 
| gb = yes
| hu = 
| ie = 
| in = 
| jp =
| pl = 
}}
taginfo · GB
{{TaginfoLinks
| path = tags/fee=£1
| aa = 
| ch = 
| cz = 
| fr = yes
| gb = no
| hu = 
| ie = 
| in = 
| jp =
| pl = 
}}
taginfo · FR
{{TaginfoLinks
| aa = no
| ch = 
| cz = 
| fr = yes
| gb = yes
| hu = 
| ie = 
| in = 
| jp =
| pl = 
}}
 · FR · GB
{{TaginfoLinks
| cz = yes
| hu = yes
| pl = yes
}}
taginfo · CZ · HU · PL
{{TaginfoLinks
| path = tags/tourism=zoo
| cz = yes
| hu = yes
| pl = yes
}}
taginfo · CZ · HU · PL
{{TaginfoLinks
| path = keys/teryt:simc
}}
taginfo
{{TaginfoLinks
| path = tags/teryt:simc=0193016
}}
taginfo
{{TaginfoLinks
| path = keys/school:FR
}}
taginfo
{{TaginfoLinks
| path = tags/school:FR=élémentaire
}}
taginfo

See also