Key:contact

From OpenStreetMap Wiki
(Redirected from Key:contact:phone)
Jump to navigation Jump to search
Public-images-osm logo.svg contact
Contact info.jpg
Description
The contact tag is the prefix for several contact:* keys to describe contacts Edit or translate this description.
Group: Address
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
Useful combination

contact: taginfo contact:*

See also
Wikidata
Status: in use

The contact tag is the prefix for several contact:* keys to describe contacts.

Popularity of phone=* and contact:phone=* indicating ongoing and uninterrupted preference of simple tagging scheme over contact: prefix

For the most common keys, the shorter version outside the 'contact' scheme is used more frequently, over the time until now: phone=*, fax=*, email=* and website=*, with other contact tags used rarely outside the namespace scheme. Both schemes are in use for a long time and exist in parallel. Many applications are able to use both of them.

To limit tag fragmentation, consider using the most used keys.

At the same time a proposal to deprecate contact:phone=* was not successful - Discussions/tagging/contact:phone or phone. Idea of deprecating either tags without contact: prefix or ones with contact prefix is repeatedly suggested, often triggering huge discussion and ending with conclusion that there is no consensus. Please, read past discussion before starting a new one[1][2][3].

Values

You should only add contact information to POIs and not to any private address!

Email-addresses which are only available on a website after solving a captcha, or which are in other ways obfuscated to protect against SPAM-bots should not be tagged in OSM. The same applies to fax and phone numbers.

Contact

Contact details.

Key Value Element Comment Taginfo Photo
contact:phone +44 11223 456-789 node way area relation phone number (see also more popular phone=*) Black telephone icon from DejaVu Sans.svg
contact:website http://example.com node way area relation Website-url (see also more popular website=* and url=*) Vista-www.png
contact:email mail@example.com node way area relation E-mail address (see also more popular email=*) Contactenos.jpg
contact:fax +44 11223 456-789 node way area relation fax number (see also more popular fax=*) Emoji u1f4e0.svg
contact:facebook full facebook URL node way area relation Facebook profile - preferably the full URL (because there are many different kinds of pages in facebook), though simply the public username is also used. (see also facebook=*) F icon.svg
contact:vk VK.com node way area relation VK link to social network service VK.com-logo.svg
contact:instagram Username node way area relation Instagram account name or full URL Instagram logo 2016.svg
contact:twitter @OpenStreetMap node way area relation Twitter account name or full URL (see also twitter=*) Twitter logo.svg
contact:mobile +44 11223 456-789 node way area relation mobile phone number. The more general tag contact:phone=* should be preferred Roadsign - Cellphone.svg
contact:youtube Youtube account/channel URL node way area relation YouTube URL of account or channel officially used by the POI. Sometimes only the YouTube username is indicated. Logo of YouTube (2015-2017).svg
contact:ok ok URL node way area relation ok link to social network service. Ok new logo.png
contact:street user defined node way area relation For denoting the street name where a POI is located, see also addr:street=*
contact:housenumber user defined node way area relation For denoting the housenumber where a POI is located, see also addr:housenumber=*
contact:postcode user defined node way area relation For denoting the postcode number where a POI is located, see also addr:postcode=*
contact:city user defined node way area relation For denoting the city name where a POI is located, see also addr:city=*
contact:webcam webcam URL node For denoting a webcam's location, use a node with the tag surveillance=webcam Camera-example.jpg
contact:telegram https://t.me/Example node way area relation Telegram account name or full URL Telegram logo.svg
contact:whatsapp WhatsApp number node way area relation WhatsApp number officially used by the POI. WhatsApp.svg
contact:linkedin Username node way area relation LinkedIn account name or full URL LinkedIn Logo.svg
contact:pinterest Pinterest URL node way area relation Pinterest URL officially used by the POI. Pinterest Logo.svg
contact:viber +44 11223 456-789 node way area relation Viber account name (phone number) or full URL Viber logo.svg
contact:foursquare https://foursquare.com/v/Example node way area relation Foursquare account name (hash) or full URL Foursquare logo 2018.png
contact:skype SkypeName node way area relation Skype login name Skype logo.svg
contact:xing Username node way area relation XING account name or full URL Xing logo.svg
contact:vhf VHF Channel or Frequency node way area relation Of interest for maritime and airport services Torre de controle Rio de Janeiro (Galeao).jpg
contact:flickr Flickr URL node way area relation Flickr URL. Similar to all others, this is where the POI can be officially contacted, or where they broadcast information. This should not point to a self-taken photo depicting the POI. Flickr wordmark.svg
contact:mastodon username@server.example node way area relation Mastodon social network handle or full URL Mastodon Logotype (Full Reversed).svg
contact:sip sip@example.com node way area relation SIP address (see also xmpp=*)
contact:diaspora username@server.example node way area relation Diaspora social network handle or full URL Diaspora logotype.svg
contact:gnusocial username@server.example node way area relation GNU Social social network handle or full URL GNU-social-logo.svg
contact:xmpp jabber@example.com node way area relation JID address (see also contact:xmpp=*) XMPP logo.svg
contact:user_defined user defined node way area relation All commonly used namespace keys according to Taginfo

* table is sorted by database units (most frequently at first)

This table is a wiki template with a default description in English. Editable here.


Phone and fax number format (ITU-T Recommendation E.123, DIN 5008):

 +<country_code> <national_destination_code> <subscriber_number>-<direct_inward_dialing>

See also

References