<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>It's not ideal, but I copied your replies over to the forum.</div>

<div>I've tried to move to my concrete example so we could test out the application of what each of you are suggesting in my reply: <u><font color="#000119"><font style="background-color: rgb(255, 255, 255);">https://forum.openstreetmap.org/viewtopic.php?pid=730429#p730429</font></font></u></div>

<div> </div>

<div><font color="#000119"><font style="background-color: rgb(255, 255, 255);">It feels like the two arguments are about stying true to how namespaces are defined as a model in information technology and remaining economically shorter to be readable to humans. And there's not much of a compromise to make. It's either or.</font></font></div>

<div> </div>

<div><font color="#000119"><font style="background-color: rgb(255, 255, 255);">Best regards,</font></font></div>

<div><font color="#000119"><font style="background-color: rgb(255, 255, 255);">Claudius</font></font></div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 20. Dezember 2018 um 04:01 Uhr<br/>
<b>Von:</b> "Sergio Manzi" <smz@smz.it><br/>
<b>An:</b> tagging@openstreetmap.org<br/>
<b>Betreff:</b> Re: [Tagging] Benefits of namespaces</div>

<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<p>François,</p>

<p>The discussion about this has also been brought to the forum, here: <a class="moz-txt-link-freetext" href="https://forum.openstreetmap.org/viewtopic.php?id=64825" target="_blank">https://forum.openstreetmap.org/viewtopic.php?id=64825</a></p>

<p>I'm unsure if it is better to continue it here in the ML, there in the forum, or in both places...</p>

<p> </p>

<div class="moz-cite-prefix">On 2018-12-20 01:04, François Lacombe wrote:</div>

<blockquote>
<div> 
<div class="gmail_quote">
<div>Le mer. 19 déc. 2018 à 22:26, Richard <<a href="mailto:ricoz.osm@gmail.com" onclick="parent.window.location.href='mailto:ricoz.osm@gmail.com'; return false;" target="_blank">ricoz.osm@gmail.com</a>> a écrit :</div>

<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">the OSM tag chain should be imho used only for very common things because each member<br/>
of the chain will turn up as a "top level" tag in the database and taginfo.</blockquote>

<div> </div>

<div>We are using such chains in Power, Pipeline and Telecom groups. It works well :</div>

<div>power=transformer + transformer=distribution + voltage:primary=20000 + voltage:secondary=400</div>

<div>man_made=street_cabinet + street_cabinet=telecom + telecom=exchange + telecom:medium=copper + operator=Orange</div>
</div>
</div>
</blockquote>

<p> </p>

<p>"Transformers" is a perfect example of "namespacing done backward". Why "voltage:secondary=220"? In a correctly namespaced world it would be "secondary:voltage=220".</p>
I understand that in spoken English you can say "the <b><b>voltage</b></b> of the <b>secondary </b>is <b>220 </b>Volt", and that's probably why those keys have been built with the terms in that particular order. (<i>BTW, logic and wording is very different in different cultures and languages. I think it wouldn't had been in that order in, say, German: can a german speaker please confirm that?</i>)

<p>Transformers can have and very often have more than one secondary: you have dealt with that using things like "voltage:tertiary=*" and the likes (windings:tertiary=*, I suppose...). And what if the transformer has 3 secondaries? Or 4?</p>

<p>Isn't "secondary:1:voltage=200" better? Don't you see that's more logical and expandable? Don't you see that here we assign a quantity (220) to something that has the correct dimensions (voltage), like in the previously globally defined key "voltage=*"? Don't you see how with that syntax everything related to the first (<i>second, third, fourth,... nth</i>) secondary (<i>wingdings, current, whatever...</i>) would be grouped under "secondary:n:*="?</p>

<p>And if transformers weren't  meant to be a "<i>namespaced thing</i>", why using the columns? Why not voltage_secondary=* ?</p>

<p>Don't you see that with the transformers a <b>new first level keyword</b>, "rating=*" have been implicitly defined and documented in the transformers page and how that keyword can be useful in other contexts... or namespaces, if you prefer?</p>

<p> </p>

<p>BTW, what is that telecom:medium=copper thing (<a class="moz-txt-link-freetext" href="https://wiki.openstreetmap.org/wiki/Key:telecom:medium" target="_blank">https://wiki.openstreetmap.org/wiki/Key:telecom:medium</a>)? <i>"Telecoms" </i>do not have a medium:  local loops have.  Is that meant to be a namespaced thing? Have this being debated/approved? I have seen it applied to buildings: what is the meaning of that?</p>

<p> </p>

<blockquote>
<div>
<div class="gmail_quote">
<div>Adding power: and telecom: prefixes would be seriously bad to encourage for contribution and extremely redundant.</div>
</div>
</div>
</blockquote>

<p> </p>

<p>To the contrary! Please read in the forum my rationale explaining exactly how that would be beneficial...</p>

<p> </p>

<blockquote>
<div>
<div class="gmail_quote">
<div> </div>

<div>Furthermore, refining of well used tags often get discouraged because of their usage.</div>

<div>This dosn't include the redundancy in namespaces' prefixes which is worse.</div>

<div> </div>

<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">If used extensively for attributes I would consider it polution of the database.<br/>
It is also much less flexible as you can specify only one attribute at a time.</blockquote>

<div>If you have to define more than one attribute with the same name it may be the attribute isn't weel defined.</div>

<div> </div>

<div>Have you examples please?</div>

<div> </div>

<div>All the best</div>

<div> </div>

<div>François</div>
</div>
</div>
</blockquote>

<p> </p>

<p>Sorry, I'm really now on the verge (<i>less than 24 hours...</i>) of a small journey, so I would probably be unable to answer/contribute anymore until January, 6.</p>

<p>Cheers,</p>

<p>Sergio</p>
_______________________________________________ Tagging mailing list Tagging@openstreetmap.org <a href="https://lists.openstreetmap.org/listinfo/tagging" target="_blank">https://lists.openstreetmap.org/listinfo/tagging</a></div>
</div>
</div>
</div>
</div></div></body></html>