Tobias Knerr: > Can we please first define a solution (e.g. a relation) for connecting > such separately mapped components of a road to the highway? > > Painting lines next to each other fails to express the important > information that this kerb/sidewalk/cycleway is part of that highway > over there. Such missing information may be easily guessed by a human > viewer, but it's currently not available in a machine-readable form. >
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). I would say that 99%+ of cases could be treated automatically once data is loaded in a geographic tool like a pgsql-PostGIS database. Advanced PostGIS users, please correct me if I am wrong. Some points are also made in https://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories > The "relations" [...] 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. [...] A good example for a valid and useful grouping is the "route <https://wiki.openstreetmap.org/wiki/Relation:route>" 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 "route <https://wiki.openstreetmap.org/wiki/Key:route>=xxx". Other than that, you already have relation tools existing if you absolutely need them, you could either pick or extend https://wiki.openstreetmap.org/wiki/Relation:street or https://wiki.openstreetmap.org/wiki/Relation:associatedStreet Although it feels like that are needed for edge cases of addresses only. I do not think we need relations at the moment to assign a pavement, a kerb/curb, a lamppost unambiguously 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). -- althio
_______________________________________________ Tagging mailing list Tagging@openstreetmap.org https://lists.openstreetmap.org/listinfo/tagging