Visualizing relations on OSMCha
Publicat per wille el 19 Gener 2020 en English. Última actualització de 20 Gener 2020Some of the most important elements in the OpenStreetMap database are relations. It’s used to define administrative boundaries, restrictions on the road network (which has a relevant impact on routes), elements made by multiple geometries, etc. Relations are also some of the most difficult elements to monitor and track modifications, as some of them don’t affect the way the data is rendered on the map.
This week we added the possibility to visualize relations on OSMCha! To avoid increasing the number of elements rendered on the map, the visualization of relations works in a bit different way…
By default, we show the bounding box of all relations that were created, modified or deleted by a changeset. When you click on a relation, it will hide all other ways and nodes and add to the map the elements that are (or were) members of that relation.
We have a new panel on the bottom right corner of the page that lists the members of the relation and the role of each of them. Clicking on a item of that list will highlight that member geometry on the map.
If you click on a second relation on the map, it will hide the first relation members and show the members of that second one. Clicking on a part of the map that doesn’t have any element, it will reset the visualization to the default view.
One important advice: if the relation bounding box is bigger than the changeset bounding box, only the relation members that intersect with the changeset BBox will be available for visualization. It is a technical limitation that will affect mainly the roads and administrative boundaries, but I believe that, even on those cases, it will be useful to analyse the changeset impact on the integrity of that relation part.
Let us know if you have some new idea to make the relations visualization yet better.
Discussió
Comentari de Chetan_Gowda el 20 Gener 2020 a les 17.49
This was long standing feature that community wanted. Thanks for your efforts :)
Comentari de karitotp el 21 Gener 2020 a les 16.13
Great job Wille!! 👏
Comentari de Godfan el 22 Gener 2020 a les 06.19
Thanks, Willie! this is really a very good Enhancement and it is the easiest method to verify the relations data.
Comentari de Adityo el 14 Febrer 2020 a les 02.59
Thank you Wille!!!