<div dir="ltr">Option 1 <div>addr:range=* specifies the increment</div><div><br></div><div>addr:range=even</div><div>addr:housenumber=2..250</div><div><br></div><div>if .. is used, a hyphen combined with a range can be handled. </div><div><br></div><div>addr:range=odd</div><div>addr:housenumber=200-01..200-91<br><div><br></div><div>In these examples, a default of 2 would simplify things: .. infers a range, increment is default 2 and - is never a range indicator.</div><div><br></div><div>Error to be expected: people just copying the housenumber plate may use 2-250. <br></div><div>When using the explicit addr:range tag, the format error may be detected because .. is missing.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Peter Elderson</div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op do 24 dec. 2020 om 15:12 schreef Paul Allen <<a href="mailto:pla16021@gmail.com">pla16021@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Thu, 24 Dec 2020 at 10:14, Martin Koppenhoefer <<a href="mailto:dieterdreist@gmail.com" target="_blank">dieterdreist@gmail.com</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 dir="ltr"><div>maybe we should add an expression marker, like {10..20} to make it more explicit and avoid confusion with typos?</div></div></blockquote><div><br></div><div>In programming, you also have the ability to define the increment,</div><div>which defaults to 1 if left unspecified. That way you can distinguish</div><div>between 10, 11, 12, 13, 14, 15, 16 and 10, 12, 14, 16 (or even</div><div>10, 13, 16). You could argue that for addresses the increment</div><div>ought to default to 2, since that is most commonly encountered.<br></div><div><br></div><div>-- <br></div><div>Paul</div><div><br></div></div></div>
_______________________________________________<br>
Tagging mailing list<br>
<a href="mailto:Tagging@openstreetmap.org" target="_blank">Tagging@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/tagging" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/tagging</a><br>
</blockquote></div>