-
-
Notifications
You must be signed in to change notification settings - Fork 473
-
-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reprocessing relations multiple times #423
Comments
Closed
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 7, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 7, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 8, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 9, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 10, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 11, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
joto
added a commit
to joto/osm2pgsql
that referenced
this issue
Jul 13, 2023
In append mode relations could be processed twice if they are in the input and also the parent of a node or way in the input. With this change we are removing all ids of changed relations from the list of pending relations before processing them. Fixes osm2pgsql-dev#423.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#419 (comment) showed that with diff updates, relations can be processed twice, once in parsing and once in pending relations. The output is correct, but doing so twice is wasteful.
Two possible solutions come to mind
Bit of a brain-dump from IRC:
The text was updated successfully, but these errors were encountered: