[OSM-talk] contact: tags

Bryan Housel bryan at 7thposition.com
Sun May 3 16:05:25 UTC 2015


I like the `contact:*` tags, but only because it simplifies a few things in the iD editor.  When copying and pasting an object, we really want to remove the name/address/contactinfo so that the pasted object doesn’t have the same values.

If all the custom keys are grouped under `contact:whatever` this is easy to do, otherwise we need to build the logic into the editor to remove the values.  I’m certainly ok with having the keys either way, just saying this is one area where a namespace helps.

For the curious, the code to do this is here:
https://github.com/openstreetmap/iD/blob/master/js/id/behavior/paste.js#L4-L18 <https://github.com/openstreetmap/iD/blob/master/js/id/behavior/paste.js#L4-L18>

Thanks, Bryan




> On May 3, 2015, at 11:17 AM, Andrew MacKinnon <andrewpmk at gmail.com> wrote:
> 
> I am proposing that the contact: set of tags (contact:phone,
> contact:website, etc.) be depreciated and replaced with the simpler
> set of tags (phone, website, etc.) I am not proposing that anyone do
> any mechanical edits.
> 
> The reason is that the contact: tags are unnecessarily verbose (we
> should use simpler tags whenever possible) and the simpler tags are
> much more popular (there are 98865 contact:phone tags but 490328 phone
> tags). Why do we need to have more than one way of tagging common
> things like phone numbers?
> 
> I'm also not sure why we need to have both website and url tags
> (though in some cases I have seen people put two different websites on
> a POI, one in website and one in url). There are 737911 website tags,
> 324963 url tags and 67038 contact:website tags. Though url is far more
> popular than contact:website, so I don't think it makes sense to
> depreciate this.
> 
> Anyone like/absolutely hate this idea? I do not understand why we need
> to have so many different ways of tagging the same thing. This has
> become a big problem in OSM in general, but this is one of the most
> annoying cases of this.
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20150503/58033a09/attachment.html>


More information about the talk mailing list