Talk:Homonymous keys

From OpenStreetMap Wiki
Jump to navigation Jump to search

what's the problem with bench?

I'm not quite grokking this. So, bench=yes is used when an amenity=bus_stop or an amenity=shelter has a built in seat as part of its construction, and an amenity=bench is a freestanding thing for sitting on which is not part of something else. Could you elaborate on what the problem with this particular key is please? would seat=yes have been better as it used a different word? Jnicho02 (talk) 18:15, 27 November 2019 (UTC)

This page says that bench=yes is used when an amenity=bus_stop has a bench, but bench=stand_up_bench specifies the kind of bench on an amenity=bench. bench=yes is an unhelpful tag in conjunction with amenity=bench.

Not all of the keys on this page are equally problematic for data consumers. bench=* is probably more benign than some of the other ones because data consumers are less likely to rely on it to render or route differently. But yes, something like has_bench=yes or alternatively bench:type=stand_up_bench would've made it easier for an editor to add a field specifying the kind of bench on the Bench preset.

 – Minh Nguyễn 💬 21:33, 27 November 2019 (UTC)

Ah right, I see. Thank you. Jnicho02 (talk) 08:29, 28 November 2019 (UTC)

shop=yes

I don't quite where this fits in your taxonomy, but the two meanings are:

  • There is a shop associated with the primary feature (analagous to bar=yes for a hotel). Most often used on petrol (gas) stations.
  • The primary feature is a retail outlet, but the range of goods or services sold is not known (or the mapper didn't have information on a suitable tag to hand). Not infrequent when surveying in the evening or on a Sunday morning when not all shops are open, or when information is collected from photos, Mapillary, OpenStreetCam etc.

HTH SK53 (talk) 16:14, 18 December 2019 (UTC)

Rename to Ambiguous keys

I think "ambiguous" is a more common known word than "homonymous" and thus more likely to be understood. --Push-f (talk) 09:22, 2 July 2022 (UTC)

It has a different meaning Mateusz Konieczny (talk) 15:45, 2 July 2022 (UTC)
Yes they are defined differently but as far as I am concerned homonymous keys are ambiguous and ambiguous keys are homonymous, or can you give a counter-example? --Push-f (talk) 15:37, 4 July 2022 (UTC)
shop=* is homonymous but not ambiguous. In fact, nearly no uses on this page are ambiguous Mateusz Konieczny (talk) 12:59, 15 July 2022 (UTC)
@Push-f: I can see that "homonymous" is a less familiar word for even many native English speakers; however, the issue described here is that a key has multiple unambiguous meanings, quite the opposite of "ambiguous". If we're searching for an alternative, then "Conflicting key definitions" would be closer, though "conflict" is slightly... ambiguous. – Minh Nguyễn 💬 01:18, 25 November 2022 (UTC)