hotosm / HDM-CartoCSS

CartoCSS project focused on the Humanitarian Data Model
Other
134 stars 41 forks source link

Ocean in Latin America #312

Open Jorieke opened 4 years ago

Jorieke commented 4 years ago

Several countries in Latin America look like ocean on the humanitarian layer. Check here: https://www.openstreetmap.org/#map=5/3.119/-61.436&layers=H Is this a problem with the rendering? Can this be fixed?

I asked the question as well on the HOT mailing list: https://lists.openstreetmap.org/pipermail/hot/2020-March/thread.html#15168

yohanboniface commented 4 years ago

Gasp. This is usually a broken boundary=administrative relation :/

I'll have a look.

Marc-marc-marc commented 4 years ago

no main tag on https://www.openstreetmap.org/relation/9969273 osm2pg fail over to old MP style =use a tag found on a outer (a river in this case) as tag for the whole MP adding a main tag (maybe place=region) to the MP may solve the issue

yohanboniface commented 4 years ago

Seems like the relation inherits waterway=riverbank from this way: https://www.openstreetmap.org/way/43170270

yohanboniface commented 4 years ago

I tried a hack but this failed. "Proper" solution was to add "place=region" (or any main tag like amenity…) on the relation, so it does not try to inherit from its members: https://www.openstreetmap.org/changeset/82900575#map=6/2.673/-58.865&layers=H Now re-re-redering the tiles!