<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><br></div><div><br></div><div><br></div><div>2 gru 2022, 16:54 od osm@tobias-knerr.de:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On 02.12.22 15:02 Mateusz Konieczny wrote:<br></div><blockquote><div>Or is it justifiable because it is outright impossible to do reliably<br></div><div>with automatic preprocessing?<br></div></blockquote><div><br></div><div>I would say that's the reason. Of course, it's hard to prove that something is impossible. But so far no one has built a working solution for inferring this information where it isn't explicitly mapped.<br></div><blockquote><div>If yes, can you give examples where it would be beneficial<br></div><div>and explicitly ask to introduce such tagging solely in<br></div><div>cases where preprocessing is doomed to fail?<br></div></blockquote><div><br></div><div>Given the current lack of working preprocessing solutions for even the easier situations you've linked to, I'm not sure it's easy to tell where the dividing between "solvable" and "unsolvable" is. It would also have to be defined and explained in such a manner that mappers (and editing tools like StreetComplete who might some day ask users to fill this in) can easily understand where it is or isn't needed.<br></div></blockquote><div dir="auto">I have good news! There is preprocessing solution for large (nearly all?) simple cases,<br></div><div dir="auto">written in Kotlin and is a part of StreetComplete.<br></div><div dir="auto"><br></div><div dir="auto">StreetComplete would be able to handle cases listed in its sidewalk detection<br></div><div dir="auto">(used to skip sidewalk/cycleway quests in presence of nearby separately mapped sidewalk<br></div><div dir="auto">- note that in new versions this quests are disabled by default as overlays<br></div><div dir="auto">are intended to replace them)<br></div><div dir="auto"><br></div><div dir="auto">You can test how it works by finding place where roads have no sidewalk=* tags<br></div><div dir="auto">and there are separately mapped sidewalks, navigate there in StreetComplete and<br></div><div dir="auto">disable all quests except sidewalk/cycleway.<br></div><div dir="auto"><br></div><div dir="auto">You will get them on matching roads - except ones with detected nearby sidewalks.<br></div><div dir="auto">You can also tweak filter rules to enable sidewalk and cycleway quest for all roads<br></div><div dir="auto">to skip tag based filtering (which skips some roads unlikely to have cycleways<br></div><div dir="auto">or sidewalks or already tagged with sidewalk* and cycleway* tags)<br></div><div dir="auto"><br></div><div dir="auto">This code would handle with slight modifications vast majority of cases.<br></div><div dir="auto">Simplest one would be enlarging default buffer and other parameters.<br></div><div dir="auto">Possible changes include taking into account cycleway*=separate tags and <br></div><div dir="auto">sidewalk*=separate tags to search for larger distance if sidewalk was not found<br></div><div dir="auto">and other obvious tweaks - all examples listed here would be handled.<br></div><div dir="auto"><br></div><div dir="auto">Yes, it will take some effort to write or adapt this code. But this proposal asks<br></div><div dir="auto">mappers to manually preprocess millions of sidewalk sections.<br></div><div dir="auto">Just currently marked footway=sidewalk (small part of all separately mapped sidewalks)<br></div><div dir="auto">have 3 300 000+ sections.<br></div><div dir="auto">Lets take optimistic 5s per section, initial tagging that alone would consume<br></div><div dir="auto">4695 hours of mapping (and also software costs to allow such efficient mapping!).<br></div><div dir="auto">And likely 5s per way is very optimistic.<br></div><div dir="auto">Add to that all separately mapped sidewalks without footway=sidewalk.<br></div><div dir="auto"><br></div><div dir="auto">And that is a small part. The worst part is that any time you update<br></div><div dir="auto">highway=* value or name or ref there is an added drudgery to update this<br></div><div dir="auto">on sidewalks.<br></div><div dir="auto"><br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><blockquote><div>If it is second case of preprocessing being impossible -<br></div><div>why do massive duplication and ask to duplicate ref value<br></div><div>AND name value AND highway value?<br></div></blockquote><div><br></div><div>The duplication-free solution of referencing the road's way ID as is_sidepath:of = w4087515 is going meet some resistance from people pointing out the need for, and current lack of, editor support to make such values usable.<br></div><div><br></div><div>(Not from me, though, I'd love that approach and have dozens of ideas for other places where it would be helpful. :))<br></div><div><br></div><div>_______________________________________________<br></div><div>Tagging mailing list<br></div><div>Tagging@openstreetmap.org<br></div><div>https://lists.openstreetmap.org/listinfo/tagging<br></div></blockquote><div dir="auto"><br></div>  </body>
</html>