Do relations of type=multipolygon have to have at least one way with role=outer?

Specifically, is this relation malformed?

The wiki says multipolygon relations need at least one or more outer members and zero or more inner members. And says to not leave the role member empty: Tools may handle this as Role outer or will attempt to guess the effective role from the geometry using a slow/complex algorithm, and may fail.

So to reply the question in the title: yes.

3 Likes

Thanks, just checking before making edits.

There are a few in the area I’ve been looking at. e.g.: overpass turbo

Looking at it I wonder if it shouldn’t be a multilinestring

This relation type is used when a single physical object would qualify as a multipolygon, except that it covers no area because it consists of linear features (unclosed ways).

On a second look I would not make it a relation anyway. It is just a “collection” of barriers (kerb) which should only be nodes or ways

2 Likes