<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">But what I suspect could be done is when iD in invoked from a HOT project it could restrict the options on things like highways to those in the wiki <a href="https://wiki.openstreetmap.org/wiki/Highway_Tag_Africa">https://wiki.openstreetmap.org/wiki/Highway_Tag_Africa</a></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">which would save a lot of living_streets etc. being added in parts of Africa where there aren't any. Also reduce the numbers of highway=footway rather than path.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">We might even get a few more building=yes tags rather than the range we get at the moment.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Thanks John<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 December 2017 at 10:45, Bryan Housel <span dir="ltr"><<a href="mailto:bryan@7thposition.com" target="_blank">bryan@7thposition.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Have you looked at <a href="https://github.com/osmlab/osmlint" target="_blank">https://github.com/osmlab/<wbr>osmlint</a> ?<div><div>Of all the current validation efforts, that seems like the most promising. </div><div><br></div><div>I’d definitely echo what other people are saying about avoiding the osm wiki if possible. </div><div><br></div><div>It works on vector tiles though, so to stuff it into an editor like iD, we would need to write some kind of pipeline that does:</div><div>“current view of stuff in editor” -> "vector tile" -> "osmlint engine" -> “results (geojson)” -> “back to the editor for user to see"</div><div><br></div><div>It might work?</div><div><br></div><div>Also… This problem of “validating OSM” is really unbounded. You should know that before you start working on it! I’m not one to tell people not to work on something but.. It’s really hard! Tags are just made up all the time by people.</div><div><br></div><div>Can a `highway=residential` connect to a `power=line`? - no!</div><div>Can a `highway=service` connect to a `power=substation` - uhh, I guess!</div><div>Can a `highway=??` connect to a `power=thing_i_just_made_up`? - haha!</div><div><br></div><div>Bryan</div><div><br></div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>On Dec 24, 2017, at 4:47 AM, François Lacombe <<a href="mailto:fl.infosreseaux@gmail.com" target="_blank">fl.infosreseaux@gmail.com</a>> wrote:</div><br class="m_-1437143538854032825Apple-interchange-newline"><div><div dir="auto">Hi<div dir="auto"><br></div><div dir="auto">Here is an idea I got regarding tagging validation in editors (iD, JOSM, others).</div><div dir="auto">Subsequently to wiki proposal voting and cleanups, it's currently necessarily to open issues in each editor repository to ask for new tagging validation rules. </div><div dir="auto"><br></div><div dir="auto">It can sometimes be time consuming to develop those new rules and such a work is done independently by each project maintainer. While each project have its own specific components, background logic is the same.</div><div dir="auto"><br></div><div dir="auto">Would a new lib called like osmtagvalidator or so in charge of doing conform validation to wiki be useful?</div><div dir="auto">It may be shared by any project involved in osm editing and preserve its resources for other valuable developments.</div><div dir="auto"><br></div><div dir="auto">For me, validation doesn't prevent users to use tags they want, but only warn them about possible mistakes.</div><div dir="auto"><br></div><div dir="auto">How would devs and users feel about this?</div><div dir="auto"><br></div><div dir="auto">All the best</div><div dir="auto"><br></div><div dir="auto">François</div></div>
______________________________<wbr>_________________<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br><a href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/talk</a><br></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/talk</a><br>
<br></blockquote></div><br></div>