OpenStreetMap logo OpenStreetMap

Visualizing relations on OSMCha

Spisany wot wille dnja 19 January 2020 w rěči English. POslednja aktualizacija 20 January 2020

Some 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…

osmcha relations

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.

relation members

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.

relation member highlighted

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.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Diskusija

Komentar wot Chetan_Gowda spisany dnja 20. January 2020 17:49

This was long standing feature that community wanted. Thanks for your efforts :)

Komentar wot karitotp spisany dnja 21. January 2020 16:13

Great job Wille!! 👏

Komentar wot Godfan spisany dnja 22. January 2020 06:19

Thanks, Willie! this is really a very good Enhancement and it is the easiest method to verify the relations data.

Komentar wot Adityo spisany dnja 14. February 2020 02:59

Thank you Wille!!!

Přizjewić, zo by komentar spisał(a)