Taginfo/Linking

From OpenStreetMap Wiki
Jump to navigation Jump to search

Linking to Taginfo

You can create links to taginfo pages about keys, tags and relation types like this:

http://taginfo.openstreetmap.org/keys/KEY
http://taginfo.openstreetmap.org/tags/KEY=VALUE
http://taginfo.openstreetmap.org/relations/TYPE

You can also use the alternate form:

http://taginfo.openstreetmap.org/keys/?key=KEY
http://taginfo.openstreetmap.org/tags/?key=KEY&value=VALUE
http://taginfo.openstreetmap.org/relations/?rtype=TYPE

If the KEY or VALUE contains an equal sign (=), a dot (.) or a slash (/) you MUST use the alternate form.

To link directly to a specific tab, you can add a hash sign (#) and the name of the tab to the link.

Remember that you might have to escape characters in URLs with %hexcode because all Unicode characters can appear in OSM tags.

Link to the Comparison Page

To link to the comparison page use

http://taginfo.openstreetmap.org/compare/KEY1/KEY2/...
http://taginfo.openstreetmap.org/compare/KEY1=VALUE1/KEY2=VALUE2/...

or the alternate form:

http://taginfo.openstreetmap.org/compare?key[]=KEY1&key[]=KEY2...
http://taginfo.openstreetmap.org/compare?key[]=KEY1&value[]=VALUE1&key[]=KEY2&value[]=VALUE2...

You can mix the KEY-only-form and the KEY-VALUE-form.