This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Does it make sense to create relations for very large objects - say: the Mediterranean Sea?

1
1

Does it make sense to create relations for very large objects? Let's say the Mediterranean Sea...!?

asked 27 Sep '10, 11:38

katpatuka's gravatar image

katpatuka
1.0k152636
accept rate: 12%

edited 28 Sep '10, 14:13


One Answer:

2

They are already very large relations in OSM. For instance, countries boundaries (Germany, France but also probably Australia, USA, China, etc) or inter-states routes (highways/freeways). So, the question is not if it make sense but if you need them. You just have to know that very large objects imply very large relations which are not easy to create and maintain. For this reason, some relations are collecting sub-relations (for instance, the french boundary is composed of sub-relations containing the boundaries of each adjacent country). The OSM API is allowing this but then, the applications consuming OSM data (like renderers, routing apps, statistic tools, etc) have to correctly handle such special relations (having other relations as members) which is not the case today.
They are also very large objects where the outlines are not well defined (valleys, massif). You can find some proposals on the wiki about such things like https://wiki.openstreetmap.org/wiki/Proposed_features/Valley, https://wiki.openstreetmap.org/wiki/Proposed_features/Massif or https://wiki.openstreetmap.org/wiki/Proposed_features/Sea using nodes (so it's more placing a label) or even this relation proposal : https://wiki.openstreetmap.org/wiki/Relations/Proposed/Region but I don't know it's widely used today.

answered 29 Sep '10, 11:22

Pieren's gravatar image

Pieren
9.8k2083157
accept rate: 15%

Source code available on GitHub .