ITDP / atlas

The frontend code for the Atlas of Urban Transport
MIT License
0 stars 0 forks source link

Overlap of polygons for smaller geographic levels #53

Open MaddySL opened 8 months ago

MaddySL commented 8 months ago

When I choose a geography level below agglomeration, in several cities (Quebec City, Montreal, possibly more?) the polygons of those geographies overlap, so that I can only click the one on top. image

dtreich-itdp commented 8 months ago

This is because OSM contains multiple overlapping polygons with the same admin_level tag. I can imagine two possible solutions:

  1. We (or our partners) manually correct the tagging in OSM. This will help contribute to better OSM data over time, giving back to the community, and ensure that the data displays correctly on subsequent versions of the Atlas. You'll notice that currently, Montreal's Westmount does not display at the Neighborhood level, as it should, because it displays instead at the District level. We could fix that.
  2. We program the Atlas to not display the smaller of any overlapping geometries. This would make the display less confusing, but it would also mean that the data would never be corrected -- and so, for example, Westmount would be excluded from the Atlas entirely.

Which do you think would be better?

MaddySL commented 8 months ago

This is because OSM contains multiple overlapping polygons with the same admin_level tag. I can imagine two possible solutions:

  1. We (or our partners) manually correct the tagging in OSM. This will help contribute to better OSM data over time, giving back to the community, and ensure that the data displays correctly on subsequent versions of the Atlas. You'll notice that currently, Montreal's Westmount does not display at the Neighborhood level, as it should, because it displays instead at the District level. We could fix that.
  2. We program the Atlas to not display the smaller of any overlapping geometries. This would make the display less confusing, but it would also mean that the data would never be corrected -- and so, for example, Westmount would be excluded from the Atlas entirely.

Which do you think would be better?

I like the idea of fixing it permanently with Option 1- could an intern help out?

dtreich-itdp commented 8 months ago

I think Kristal or Lia could help with some cities (ITDP cities, campaign cities, etc), but probably not doing a worldwide survey