<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 23, 2014 at 6:20 PM, Lukas Sommer <span dir="ltr"><<a href="mailto:sommerluk@gmail.com" target="_blank">sommerluk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>I think it could be useful to have a clear documentation on the wiki about which solution is the preferred one.</div></div></div></div></blockquote><div><br></div><div>Oh yes! I would appreciate clear and explicit documentation on this one!</div><div><br></div><div><br></div><div>On Mon, Nov 24, 2014 at 11:51 PM, Tobias Knerr <span dir="ltr"><<a href="mailto:osm@tobias-knerr.de" target="_blank">osm@tobias-knerr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 23.11.2014 19:46, Zecke wrote:<br>> No need to do so. The semi-colon is the accepted way to separate multi<br>> values in cases where there's no other scheme defined.<br>> <a href="http://wiki.openstreetmap.org/wiki/Semi-colon_value_separator" target="_blank">http://wiki.openstreetmap.org/wiki/Semi-colon_value_separator</a><br><br></span>The semi-colon is not universally accepted, for good reasons. Contrary<br>to what you said, it should only be used if it is explicitly defined as<br>an option for that particular key. To introduce such a convention to an<br>old and widely used set of tags is not easy and requires a broad<br>consensus, not a quick wiki page change.</blockquote><div><br></div><div>Indeed Tobias the page on <a href="http://wiki.openstreetmap.org/wiki/Semi-colon_value_separator" target="_blank">Semi-colon_value_separator</a> itself even reads:</div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">> In general </span><b style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">avoid ';' separated values whenever possible</b><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">.</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">> Don't use them in your mapping, and don't propose them on the wiki if there are better ways of representing things.</span></div></div><div>Zecke <span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">I don't understand that as 'accepted' even by default.</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">I would appreciate clarifications on pages when it should be used, when it should not be used, and when it is under discussion.</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px"><br></span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px"><br></span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">I tried once to tag name and alt_name by myself.</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.2000007629395px">That was before. I was not aware of this problem with the list discussions in September and now.</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">I tried to follow any guidelines that I could find on the wiki.</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">That is to say:</span></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">* </span><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px"><a href="http://wiki.openstreetmap.org/wiki/Key:name">http://wiki.openstreetmap.org/wiki/Key:name</a></span></font></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">** use </span><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">name</strong><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">, </span><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">official_name</strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><strong class="" style="line-height:19.2000007629395px">, </strong><strong class="" style="line-height:19.2000007629395px">alt_name</strong></strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">, </strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">loc_name, </strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">reg_name</strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">, </strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">int_name</strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">, </strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">short_name, </strong><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">:<i><lg></i></strong></div>** The scheme 'name' with a lot of different keys enables to give several names with all kinds of shading</div><div class="gmail_quote">** "alt_name: <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)">another name or names by which the feature is known" [note the plural on names within alt_name]</span></div><div class="gmail_quote">** What if I am left with several names that should fit in one key only? (alt_name or old_name or etc)</div><div class="gmail_quote"><div><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">* </span></strong><a href="http://wiki.openstreetmap.org/wiki/Semi-colon_value_separator" target="_blank">http://wiki.openstreetmap.org/wiki/Semi-colon_value_separator</a></div><div><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">** "In general </span><b style="font-size:13px;line-height:19.2000007629395px;background-color:rgb(255,255,255)">avoid ';' separated values whenever possible</b><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">." OK fair enough.</span><i><br></i></strong></div><div><div><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">** </span></strong><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.2000007629395px">alternative approaches: </span><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">"</span></strong><b style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">Choose one of the values": </b>not my objective I want to add all useful names for Nominatim and the rest</div></div><div><div><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">** </span></strong><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.2000007629395px">alternative approaches: </span><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">"</span></strong><b style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.2000007629395px">Split the element</b><b style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">": </b>not concerned I have only one feature and several names</div></div><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">** </span></strong><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">even more approaches: </span><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">"</span></strong><b>consider converting it to a</b><b> namespaced approach</b><strong class="" style="color:rgb(0,0,0);font-family:sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(249,249,249)"><span style="font-size:13px;font-weight:normal;line-height:19.2000007629395px;background-color:rgb(255,255,255)">": I can try and see what happens</span></strong></div><div class="gmail_quote">* <a href="http://wiki.openstreetmap.org/wiki/Namespace">http://wiki.openstreetmap.org/wiki/Namespace</a><br></div><div class="gmail_quote">** "<span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">A </span><b style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">namespace</b><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px"> is a prefix or suffix within a </span><a href="http://wiki.openstreetmap.org/wiki/Key" title="Key" class="" style="font-size:13px;text-decoration:none;color:rgb(11,0,128);font-family:sans-serif;line-height:19.2000007629395px;background-image:none;background-repeat:initial">key</a><span style="font-size:13px;color:rgb(0,0,0);font-family:sans-serif;line-height:19.2000007629395px">. Namespaces are used (where it is deemed necessary) to provide a grouping of tags, and a way of separating this group of tags, avoiding naming clashes and providing a higher level context to a particular key." And I choose suffix instead of prefix, I don't know why, it just seemed easier in this case.</span></div><div class="gmail_quote"><br></div><div class="gmail_quote">So on the one hand, after painful reading of several articles (more or less conflicting) in the wiki I try the namespaced approach.</div><div class="gmail_quote">On the other hand I read on this list that this not the [good/correct/implicit/accepted/established] way.<br><br><br>But let us look at a real case to discuss.<br>Please find the current state of one object, so that we can comment, and improve on what I have done.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><a href="http://www.openstreetmap.org/way/55503397">http://www.openstreetmap.org/way/55503397</a></div><div class="gmail_quote"><br><div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">amenity<span class="" style="white-space:pre">  </span>arts_centre</span></font></div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name<span class="" style="white-space:pre">   </span>Centre Pompidou</span></font></div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">official_name<span class="" style="white-space:pre">      </span>Centre National d'Art et de Culture Georges-Pompidou</span></font></div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">short_name:fr<span class="" style="white-space:pre">     </span>CNAC</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px"><br></span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">alt_name<span class="" style="white-space:pre">        </span>Beaubourg;Centre Georges-Pompidou;Centre Beaubourg</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">alt_name:fr:1<span class="" style="white-space:pre">     </span>Centre Georges-Pompidou</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">alt_name:fr:2<span class="" style="white-space:pre">        </span>Centre Beaubourg</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">alt_name:fr:3<span class="" style="white-space:pre">       </span>Beaubourg</span></font></div><div style><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px"><br></span></font></div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">wikipedia<span class="" style="white-space:pre">     </span>fr:Centre national d'art et de culture Georges-Pompidou</span></font></div><div><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px"><br></span></font></div></div><div style><span style="line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif">name:es</span><span class="" style="line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif;white-space:pre">  </span><span style="line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif">Centro Pompidou</span><br><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:fr<span class="" style="white-space:pre"> </span>Centre Pompidou</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:it<span class="" style="white-space:pre">      </span>Centro Georges Pompidou</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:ja<span class="" style="white-space:pre">      </span>ポンピドゥー・センター</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:ko<span class="" style="white-space:pre">    </span>조르주_퐁피두_센터</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:no<span class="" style="white-space:pre">   </span>Pompidou-senteret</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:ru<span class="" style="white-space:pre">    </span>Центр_Помпиду</span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.2000007629395px">name:zh<span class="" style="white-space:pre">    </span>龐畢度中心</span></font></div><div style><br></div><div style>I don't even know which keys are currently under use by Nominatim and other <span style="font-family:arial,sans-serif;font-size:13px">data consumers</span> and how that could evolve in the future.</div></div><div style><br></div><div style>Sorry for the long post, I hope it helps you understand what it is to start from scratch and try to follow the guidelines in the wiki.</div><div style>If we can improve my tags, small win.</div><div style>If we can improve the scheme, bigger win.</div><div style>If we can make the documentation clear and explicit, biggest win.</div><div style><br></div><div style>Cheers.</div><div style><br></div><div style>althio</div></div></div></div>