[OSM-talk] OSM tagging validation lib
john whelan
jwhelan0112 at gmail.com
Sun Dec 24 18:41:10 UTC 2017
True but it's to do with data quality and avoiding the need to validate.
Thank you for the comment.
Cheerio John
On 24 Dec 2017 1:37 pm, "Bryan Housel" <bryan at 7thposition.com> wrote:
> What you are describing has nothing to do with validation. This could be
> done now without any new development just by running a copy of iD with
> different presets.
>
> Sent from my iPhone
>
> On Dec 24, 2017, at 12:08 PM, john whelan <jwhelan0112 at gmail.com> wrote:
>
> 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
> https://wiki.openstreetmap.org/wiki/Highway_Tag_Africa
> 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.
>
> We might even get a few more building=yes tags rather than the range we
> get at the moment.
>
> Thanks John
>
> On 24 December 2017 at 10:45, Bryan Housel <bryan at 7thposition.com> wrote:
>
>> Have you looked at 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.infosreseaux at 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 at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20171224/7bc9db92/attachment.html>
More information about the talk
mailing list