Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Nov 6, 2025

The BDD tests have the hidden feature that they implicitly add any nodes defined in the grid to the import data. This leads to a bit off odd behaviour for tests that have an update phase: you have to unset the grid in order to avoid untagged nodes being added during update.

This PR changes the behaviour: nodes defined in the grid are now added to the import data only when the grid is defined, not when the final OPL is generated. So, nodes from the grid will still appear in the import data but only once.

Nodes defined in the grid are now added to the import data only
when the grid is defined, not when the final OPL is generated.
This avoids untagged nodes being added again when running updates.
@joto joto merged commit 76d90cc into osm2pgsql-dev:master Nov 7, 2025
24 checks passed
@lonvia lonvia deleted the bdd-untagged-nodes branch November 7, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants