Contact:website / website / url

From OpenStreetMap Wiki
Jump to navigation Jump to search

Comparison of "contact:website / website / url" tagging and showing some pros and cons.

Notes and advantages

All two (three) taggings have equal rights. For additional information see following table for illustration.

Using non contact*:* scheme Using contact*:* scheme
key email=* / key fax=* / key phone=* / key website=* / (key url=*) / (key mobile=*) / (key facebook=*) / (key vk=*) key contact:*=* (key contact:email=* / key contact:fax=* / key contact:phone=* / key contact:website=* / key contact:mobile=* / key contact:facebook=* / key contact:vk=*)
There is an advantage of usage the scheme without contact:*=*. When you don't use any editor presets, it is faster to use, because it's not necessary to type in so many letters for each key name parameter. For older values (e.g. website, phone) there is a higher amount of database distribution, this is reasonable because this was the initial tagging scheme, see #Taginfo & Tag History. There is an advantage of contact:*=* contact=*, because mostly you will get consistent overview of tag arrangement, which will be a kind of a Namespace group block for key contact=*. This is similar to other Namespaces, which are in a wide use for the OpenStreetMap database, e.g. Namespace group block of address information, see addr=*. When using this contact:*=* scheme and having these Namespace group blocks available it might be less error prone to get consistent data sets for existing poi objects in long run. This may also speed up different processing steps, e.g. while adding tags, while removing tags and, or while other maintenance work (like changing/updating key/values). For newer contact values (e.g. facebook, vk, mobile) there is a higher amount of database distribution, see #Taginfo and OSM Tag History.

addr:city=New Town
addr:housenumber=1
addr:postcode=10103
addr:street=Station Street

building=yes
email=abc@defghi.com
fax=+1 788 59324765
internet_access=yes
mobile=+1 658 9355906
name=No block for contact tags without namespace
operator=Grange Hotels
phone=+1 776 37955
tourism=hotel
website=http://www.no-group-hotel.com/
wheelchair=yes

addr:city=New Town
addr:housenumber=1
addr:postcode=10103
addr:street=Station Street

building=yes
contact:email=jkl@mnopqr.com
contact:fax=+1 788 59324765
contact:mobile=+1 658 9355906
contact:phone=+1 776 37955
contact:website=http://www.all-contacts-standing-against-each-other-hotel.com/

internet_access=yes
name=Contact group poi
operator=Grange House
tourism=guest_house
wheelchair=yes

Find examples via: https://overpass-turbo.eu/s/BLM

(click "Run" button top left to show results)

Find examples via: https://overpass-turbo.eu/s/BLL

(click "Run" button top left to show results)

Please decide by yourself, which tagging scheme you prefer. Interpreter software should know all of them.

Taginfo and OSM Tag history

To illustrate how often each tag is used, here are the Taginfo statistics and OSM Tag History graphs for these different tags:

Taginfo without contact Taginfo contact scheme OSM Tag History graph
key website=* key contact:website=* key website=* vs key contact:website=* vs key url=* key url=*
Taghistory.raifer.tech live Chart
Graph of usage of website vs contact:website vs url from 2010 to 2019

Taginfo chronology website
Taginfo chronology contact:website

key phone=* key contact:phone=* key phone=* vs key contact:phone=*
Taghistory.raifer.tech live Chart
Graph of usage of phone vs contact:phone from 2010 to 2019

Taginfo chronology phone
Taginfo chronology contact:phone

key email=* key contact:email=* key email=* vs key contact:email=*
Taghistory.raifer.tech live Chart
Graph of usage of email vs contact:email from 2010 to 2019

Taginfo chronology email
Taginfo chronology contact:email

key fax=* key contact:fax=* key fax=* vs key contact:fax=*
Taghistory.raifer.tech live Chart
Graph of usage of fax vs contact:fax from 2010 to 2019

Taginfo chronology fax
Taginfo chronology contact:fax

key mobile=* key contact:mobile=* key mobile=* vs key contact:mobile=*
Taghistory.raifer.tech live Chart
Graph of usage of mobile vs contact:mobile from 2010 to 2019

Taginfo chronology mobile
Taginfo chronology contact:mobile

key facebook=* key contact:facebook=* key facebook=* vs key contact:facebook=*
Taghistory.raifer.tech live Chart
Graph of usage of facebook vs contact:facebook from 2010 to 2019

Taginfo chronology facebook
Taginfo chronology contact:facebook

key vk=* key contact:vk=* key vk=* vs key contact:vk=*
Taghistory.raifer.tech live Chart
Graph of usage of vk vs contact:vk from 2010 to 2019

Taginfo chronology vk
Taginfo chronology contact:vk

key instagram=* key contact:instagram=* key instagram=* vs key contact:instagram=*
Taghistory.raifer.tech live Chart

Taginfo chronology instagram
Taginfo chronology contact:instagram

See also