Tagging of Lawyers (office=lawyer)

I noticed the wiki page for lawyers Tag:office=lawyer - OpenStreetMap Wiki has been changed quite drastically in June this year, when it comes to refining what a particular lawyer is specialised in.

Originally the tagging scheme was analog to the well established healthcare:speciality=* scheme, using lawyer:speciality=*. Then it was changed, initially here https://wiki.openstreetmap.org/w/index.php?title=Tag%3Aoffice%3Dlawyer&type=revision&diff=2340446&oldid=2190495 and ending at the current state, thus creating a new key for each speciality.

As the change seems to be driven by one particular user who does not like “;” - separated values I would like to open a discussion about how useful this change is.

Personally I do favour using a scheme analog to the healthcare:speciality=* scheme and not use different approaches for different kinds of POIs. As office=lawyer has a steady increase in usage and has passed >34000 uses, establishing a consensus might be sensible.

Has this wiki change been discussed?

Tagging @Fabi2 as he probably is the user who made that change.

Personally I do favour using a scheme analog to the healthcare:speciality=* scheme and not use different approaches for different kinds of POIs.

I believe healthcare specialty is not necessarily comparable to lawyer specialization because the former tend to be specialized in one area while the latter often engage in more than one field.

Cheers Martin

I disagree. Many doctors have multiple specialities.

not in OpenStreetMap:
https://taginfo.openstreetmap.org/keys/healthcare:speciality#values

the first multivalue is general;paediatrics with 190 occurrences.

For lawyer the basis is still very small, but still you can already see many multivalues
https://taginfo.openstreetmap.org/keys/lawyer%3Aspeciality#values

I don’t think Taginfo values are the best way to show a significance in this case, or do I get it wrong? Just swap =general;paediatrics to =paediatrics;general and you get a new value. To determine the total usage of multi-values one would have to sum up all usages with more than one value.

Usage aside, the question of how to do the tagging is independent from that.

@highflyer74 @dieterdreist

What is the reason for warming up this topic again and again? It has already been discussed:
https://wiki.openstreetmap.org/wiki/Talk:Tag:office%3Dlawyer#Add_legal_speciality
https://wiki.openstreetmap.org/wiki/User_talk:Fabi2#lawyer:specialty

the first multivalue is general;paediatrics with 190 occurrences.

The same “paediatrics;general” has 0 uses at the moment, but who guarantees me that it will not be used in the future?

There is a reason why addr:, payment:=yes/no, fuel:=yes, generator:=* and other well established tags are written like this!

I do not see a lot of discussion in this. The main discussion going on in the references you added is about a missing “i” in your initial changes and forgotten leftovers in other language pages.

Concerning the question of how we actually design the key(s) of a lawyers’ speciality, namely either go with lawyer:speciality=* and multi-values OR have a separate key for each speciality has not really been discussed on a wider base, except for you expressing your antipathy for multi-values. That is the reason why I am bringing this up.

In addition this might have significance in the future for other professions specialising in whatever speciality. Therefore a general principle should be agreed upon.

Concerning the question of how we actually design the key(s) of a lawyers’ speciality, namely either go with lawyer:speciality=* and multi-values OR have a separate key for each speciality has not really been discussed on a wider base, except for you expressing your antipathy for multi-values. That is the reason why I am bringing this up.

this is not just about a personal antipathy, it is documented consensus to avoid multiple values in general, unless there are good reasons not to. See:
https://wiki.openstreetmap.org/wiki/Multiple_values

I know that reference and I know both pros and cons, but the actual practice seems to be to accept it for certain usages. It would be interesting to find out which use cases are prominent in that respect.

Is it consensus only because it is documented? There are so many approved multi-value tags nowadays and apps like Osmand have no problems evaluating them. I think this wiki page is outdated.

The discussion that Fabi2 points to consists of a few exchanges on his personal wiki page plus him claiming “this has already been discussed” on the Tag:office=lawyer talk page. This is certainly not sufficient discussion to make the wide-ranging change that started this topic. The wiki page Tag:office=lawyer must be reverted, and a proper tagging discussion must be held on the change.

2 Likes

Example of actual usage count:

  • lawyer:speciality = family : 6
  • lawyer:speciality:family = yes : 5

I propose to have this discussion in its own topic. Clearly it is possible to evaluate multivalues, and on the other hand, expecting multivalues everywhere would eventually be expensive compared to just taking the value as it is. And for many tags, having more than one value would also be confusing, like maxspeed=50;30

Totally agree here. There are occasions (the majority of tags I guess) where having more than one value is not an option and I think most will agree with that.

This thread is about finding out what’s best in cases where both variants are an option.

OK, you are right, a general discussion about multi-tags doesn’t belong here and probably would lead to nowhere.

Regarding this specific topic, I think someone (@Fabi2?) should write a proposal so that we can agree on a tagging scheme. As long as both tagging possibilities are evenly used, the wiki page should document that situation instead of only describing one (or, alternatively, describe none of them).

I now changed the wiki pages to reflect that there is no consensus yet.

1 Like

My point is documented there:

There is another tagging scheme which expresses things better, for example using recycling=glass;paper
with recycling:glass=yes + recycling:paper=yes. These schemes are easier to parse and more versatile.

Yes, but thinking about this seems to be very hard. This problem exists at least, as long as some amenity=restaurant are also an amenity=cafe.

Just because OsmAnd does preprocessing for the few healthcare-tags they use, this doesn’t mean that this is a good thing to do!

As already stated on the wiki, there was also no discussion about introduction of the lawyer specialities, why it was not OK to also improve the tagging in the same way?

Osmand parses many (all?) multi-values. You can also tag amenity=cafe;restaurant and Osmand will list the POI in both categories.