SomeoneElse
(Andy Townsend)
4
In OSM terms, a multipolygon, which is perfectly OK
Github, like (almost) everything else in OSM: https://github.com/openstreetmap/osm2pgsql
In this case there are a couple of possible reasons why there might have been a problem:
o Perhaps whatever you’re trying to do genuinely isn’t supported by osm2pgsql. Explain what you’re trying to do in a github issue and people will let you know if this is the case, or if it really should be supported and is a bug.
o The boundary of Spain has been genuinely broken in OSM very recently. There’s an ongoing discussion over who controls the sea off Ceuta and Gibraltar. Unfortunately this isn’t happening in the international boundaries forum where people could all put their point of view and discuss the issues; it’s happening via edits that tend to leave gaps in boundaries because the editors concerned aren’t so skilled at editing boundaries.
Spain is a particularly complicated boundary. As well as being a multipoligon it has Gibraltar (not part of Spain but arguably wholly enclosed within it), Ceuta et al (arguably wholly enclosed within Morocco) and Parsley Island (claimed both by Spain and Morocco, and they’ve agreed not to fight over it - currently in multipolygon terms that’s an “outer” for spain but not an “inner” for Morocco).