Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Updates of nested relations broken [was:Deutschland (country) is not a part of the see] #5093

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: steffen[at]steffen-winkler.de
[Submitted to the original trac issue database at 6.47am, Monday, 6th January 2014]

http://nominatim.openstreetmap.org/search.php?q=Deutschland&viewbox=

OSM: relation 1111111

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.29pm, Wednesday, 8th January 2014]

The little triangle is a remainder of [http://www.openstreetmap.org/api/0.6/relation/1111111/25 version 25] of the relation. I've removed it now but there is an interesting little update bug behind this which needs to be resolved. Title updated.

Technical details:
With one way in it, the relation used to be handled as a real multipolygon. When the way of version 25 was removed the relation became officially broken, which means that the old geometry of the relation is retained. osm2pgsql should somehow need to distinguish between a relation with a really broken geometry and a relation osm2pgsql does not handle (i.e. a nested relation).

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 5.59pm, Sunday, 7th September 2014]

Fixed with [https://github.com/openstreetmap/osm2pgsql/commit/13c11f8842146a79cb0629b603e5acdfbb0bfd58].

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant