<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tobias Knerr:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can we please first define a solution (e.g. a relation) for connecting<br>
such separately mapped components of a road to the highway?<br>
<br>
Painting lines next to each other fails to express the important<br>
information that this kerb/sidewalk/cycleway is part of that highway<br>
over there. Such missing information may be easily guessed by a human<br>
viewer, but it's currently not available in a machine-readable form.<br></blockquote><div><br></div><div>If they are next to each other, you have already some of the information because we use a geographic database with coordinates of the "painted lines" (and not a pure relational database).<br></div><div>I would say that 99%+ of cases could be treated automatically once data is loaded in a geographic tool like a pgsql-PostGIS database.</div><div>Advanced PostGIS users, please correct me if I am wrong.</div><div><br></div><div>Some points are also made in <a href="https://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories">https://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories</a></div><div><br></div><div><span style="font-family:sans-serif">> The "relations" [...]</span><span style="font-family:sans-serif"> are meant to model a close (and usually local) relation between objects, [...] as in: These fifteen parts together make up so-and-so road. [...] Our database is a spatial database; this means that it has intrinsic knowledge about the location of objects. [...] </span><span style="font-family:sans-serif">A good example for a valid and useful grouping is the "</span><a href="https://wiki.openstreetmap.org/wiki/Relation:route" title="Relation:route" style="background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;text-decoration-line:none;color:rgb(11,0,128);font-family:sans-serif">route</a><span style="font-family:sans-serif">" relation, where multiple ways are connected to form a cycle route or a walking route or something else; a way may be part of any number of routes so this cannot be solved by tagging the way with "</span><tt dir="ltr" class="gmail-mw-content-ltr" style="font-family:monospace,monospace;direction:ltr;background:rgb(238,238,255);line-height:1.6"><a href="https://wiki.openstreetmap.org/wiki/Key:route" title="Key:route" style="text-decoration-line:none;color:rgb(11,0,128);background:none">route</a>=xxx</tt><span style="font-family:sans-serif">".</span><br></div><div><span style="font-family:sans-serif"><br></span></div><div><span style="font-family:sans-serif">Other than that, you </span><span style="font-family:sans-serif">already</span><span style="font-family:sans-serif"> </span><span style="font-family:sans-serif">have relation tools existing if you absolutely need them, you could either pick or extend</span></div><div><font face="sans-serif"><a href="https://wiki.openstreetmap.org/wiki/Relation:street">https://wiki.openstreetmap.org/wiki/Relation:street</a> or <a href="https://wiki.openstreetmap.org/wiki/Relation:associatedStreet">https://wiki.openstreetmap.org/wiki/Relation:associatedStreet</a></font><br></div><div><font face="sans-serif">Although it feels like that are needed for edge cases of addresses only.</font></div><div><font face="sans-serif">I do not think we need relations at the moment to assign a pavement, a kerb/curb, a lamppost </font><span style="font-family:sans-serif">unambiguously </span><font face="sans-serif">to a street. These objects are related to the nearest highway or the nearest crossing between several highways (use buffers accordingly in the pre-treatment).</font></div><div><font face="sans-serif"><br></font></div><div><font face="sans-serif">-- althio</font></div><div><font face="sans-serif"><br></font></div><div><br></div></div></div></div></div></div>