Re: [OSM-talk] QA tool for finding nameless highways that are armchair-fixable

2022-11-28 Thread Lukas Toggenburger via talk
I am a bit unsure on how to proceed from here...

Maybe let's start with some technical facts:

> IMHO a highway=service, track etc typically do not have names.
> Hopefully you account for that.

> And i am not shure the assumption that other road classes
> always have names holds up.

In the current incarnation, in order to show up, a nameless way must be 
connected to two other ways that have exactly the same tags and also all three 
ways must be of the same higway=*.

> Higher class roads may have ref= but not name=*

Currently I am only considering interpolating missing name=*, but looking at 
gaps of ref=* might be a good idea for a future version.

> I use Geofabrik's excellent OSM Inspector

Yeah, nice!  I wrote the "Addresses" view of it.
(code is at https://github.com/ltog/osmi-addresses )

What I do not like so much about it: it shows you a lot of errors, but there is 
not much you can do about it after you fixed your reachable neighbourhood. It's 
the same for the "Highways" view (options "Highway name/ref") that looks at the 
same issue as the "ohni" software: 
https://tools.geofabrik.de/osmi/?view=highways=8.00885=47.99930=9=Geofabrik%20Standard=name_missing_major%2Cname_missing_minor

I specifically wanted the software to give the users the possibility to find 
spots where they can not only watch, but contribute with a low number of 
false-positives. I was hoping for feedback especially on that aspect (trade-off 
between false-positives and high number of results).

> if you have a road in 3 segments A B C and A+C have the same name,
> then not only does it seem reasonable to me to add the name on B
> but also the reply "do a survey" is a dogmatic answer: the ground
> does not contain a sign every time osm cuts a way because
> of a change in the number of strips for example.
> So by survey, you will be reduced to deducing that a segment between
> 2 others with the same name, probably also has the same name

That is also my point of view.

Best regards

Lukas

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] QA tool for finding nameless highways that are armchair-fixable

2022-11-28 Thread Lukas Toggenburger via talk
Hi all

Thank you for your feedback so far.

> I can see a use when you have three consecutive segments
> of a road, where the first and the last are named (the same)
> and the middle is not. This might indicate an omission.

This is what I do. See 
https://gitlab.com/ltog/ohni/-/blob/main/README.md#user-content-what-is-this-software-about

> Any comparison has to be done against an authoritative database
> or on ground surveying, for the area in which you're searching.

If you try out the software you will find that in most cases quite short 
segments of highways are reported (often tunnels and bridges) where the name 
probably was added later on but was missed on that small segment. 

Of course common sense should still apply when mapping, meaning e.g. skipping 
questionable cases (described as step 13 in my example workflow). And I 
definitely do not advocate using this in an automated fashion.

Best regards

Lukas

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] QA tool for finding nameless highways that are armchair-fixable

2022-11-27 Thread Lukas Toggenburger via talk
Hi all

As you might know, OSM data contains a lot of highway=* without name=*. Check 
your region using the following query:

https://overpass-turbo.eu/?Q=way%0A%20%20%5Bhighway%5D%5B!name%5D%0A%20%20(%7B%7Bbbox%7D%7D)%3B%0Aout%20body%3B%0A%3E%3B%0Aout%20skel%20qt%3B

I wrote a Python tool (using Sarah Hoffmann's pyosmium) at 
https://gitlab.com/ltog/ohni that is able to detect such highways in a planet 
(extract) file and report the ones, where the name can be interpolated from 
neighbouring ways. This allows to detect and armchair-fix a (small) subset of 
these cases with high confidence. The tool is tailored to minimize 
false-positives.

Please check it out and give feedback.

Best regards

Lukas

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk