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.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2430

-- Commit Summary --

  * bdd: change handling of untagged nodes

-- File Changes --

    M tests/bdd/flex/expire.feature (5)
    M tests/bdd/flex/locator.feature (3)
    M tests/bdd/flex/node-add.feature (18)
    M tests/bdd/flex/relation-changes.feature (27)
    M tests/bdd/flex/way-add.feature (18)
    M tests/bdd/flex/way-change.feature (15)
    M tests/bdd/flex/way-del.feature (24)
    M tests/bdd/flex/way-relation-add.feature (30)
    M tests/bdd/flex/way-relation-del.feature (15)
    M tests/bdd/steps/geometry_factory.py (30)
    M tests/bdd/steps/steps_execute.py (2)
    M tests/bdd/steps/steps_osm_data.py (26)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2430.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2430.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2430
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to