1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Feature: Errors for invalid command line parameter combinations
Background:
Given the OSM data
"""
n1 Tamenity=restaurant,name=Home x=23 y5.6
"""
Scenario: create and append cannot be used together
Then running osm2pgsql pgsql with parameters fails
| -c | -a |
And the error output contains
"""
--append and --create options can not be used at the same time
"""
Scenario: append can only be used with slim mode
Then running osm2pgsql pgsql with parameters fails
| -a |
And the error output contains
"""
--append can only be used with slim mode
"""
|