<div dir="ltr"><div dir="ltr">On Wed, 19 Aug 2020 at 04:26, Colin Smale <<a href="mailto:colin.smale@xs4all.nl">colin.smale@xs4all.nl</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0px;padding:0px;font-family:monospace">There are two use cases here: one is "what is the address of this building (or whatever)" and the other is the reverse situation: "where can I find number XXX". As long as we have tagging that is potentially ambiguous we won't be able to cover both.</div>
<div style="margin:0px;padding:0px;font-family:monospace"> </div>
<div style="margin:0px;padding:0px;font-family:monospace">In the US I know of cases where an apartment number can follow the street address, i.e. 10-321 meaning Street Address 10, apartment 321. In Europe I know of the suffix being used to indicate apartment number, or floor number - e.g. 379-3 meaning Street Address 379, Floor/Flat 3. Sometimes other characters are used for the floor/flat such as A/B/C or I/II/III - in these cases it is unambiguous because it is non-numeric.<span style="font-family:Arial,Helvetica,sans-serif;font-size:small"> </span></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0px;padding:0px;font-family:monospace"> </div>
<div style="margin:0px;padding:0px;font-family:monospace">On the other hand using the "1-5" notation to indicate a range is pretty well understood in the UK at least. What it is missing is the "interpolation" value (even, odd, all).</div>
<div style="margin:0px;padding:0px;font-family:monospace"> </div>
<div style="margin:0px;padding:0px;font-family:monospace">So let us sort this mess out by defining:</div>
<div style="margin:0px;padding:0px;font-family:monospace">1) that a hyphen indicates a range</div>
<div style="margin:0px;padding:0px;font-family:monospace">2) sub-addresses like a floor or apartment number must not use the hyphen notation, but must be given in addr:unit</div></div></blockquote><div><br></div><div>Agreed, in those cases when it's not a range but actually an apartment number or unit number addr:unit is best.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0px;padding:0px;font-family:monospace">3) an address using the range syntax should indicate the interpolation scheme by means of addr:interpolation=*</div></div></blockquote><div><br></div><div>The problem with this is addr:interpolation is currently defined as "Every nth house between the end nodes is represented by the interpolation way.", when mapping an address which uses a range, there is no start and end nodes, it's just a single address, you're not saying this range interpolates multiple addresses here, you're saying there is a single address and it's a range. In this case we don't need to record the addr:interpolation since the interpolated addresses don't actually exist (where exists means signposted).</div></div></div>