Key:url

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
Public-images-osm logo.svg url
Osm element key.svg
Description
Specifying an url related to a feature.
Group: Annotation
Used on these elements
may be used on nodes
may be used on ways
may be used on areas
may be used on relations
Status: In use

URL means Uniform Resource Locator. It can stand for a variety of things while mappers mostly use it for websites.

This tag is being used for very different types of content - official websites of an amenity or its operator, third-party pages, the object's Wikipedia entry, photographs featuring the object, or even documentation on the OSM wiki. So it is advised not to use this tag when more specific alternatives are available such as website=* (or its synonym contact:website=*), image=*, wikipedia=* and so on.

Creating a robust tag

To create a tag that will stand the test of time, simplify the URL as much as possible. For example http://www.example.com/department/index.shtml?foo=fum is more likely to work in the future if coded as http://www.example.com/department/ or better yet http://www.example.com

See also