Have you looked at https://github.com/osmlab/osmlint <https://github.com/osmlab/osmlint> ? Of all the current validation efforts, that seems like the most promising.
I’d definitely echo what other people are saying about avoiding the osm wiki if possible. 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: “current view of stuff in editor” -> "vector tile" -> "osmlint engine" -> “results (geojson)” -> “back to the editor for user to see" It might work? 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. Can a `highway=residential` connect to a `power=line`? - no! Can a `highway=service` connect to a `power=substation` - uhh, I guess! Can a `highway=??` connect to a `power=thing_i_just_made_up`? - haha! Bryan > On Dec 24, 2017, at 4:47 AM, François Lacombe <fl.infosrese...@gmail.com> > wrote: > > Hi > > Here is an idea I got regarding tagging validation in editors (iD, JOSM, > others). > 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. > > 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. > > Would a new lib called like osmtagvalidator or so in charge of doing conform > validation to wiki be useful? > It may be shared by any project involved in osm editing and preserve its > resources for other valuable developments. > > For me, validation doesn't prevent users to use tags they want, but only warn > them about possible mistakes. > > How would devs and users feel about this? > > All the best > > François > _______________________________________________ > talk mailing list > talk@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk