File tree 2 files changed +10
-3
lines changed
test/bdd/osm2pgsql/import
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,10 @@ module.MAIN_TAGS_POIS = function (group)
190
190
historic = {' always' ,
191
191
yes = group ,
192
192
no = group },
193
- information = {include_when_tag_present (' tourism' , ' information' )},
193
+ information = {include_when_tag_present (' tourism' , ' information' ),
194
+ yes = ' delete' ,
195
+ route_marker = ' never' ,
196
+ trail_blaze = ' never' },
194
197
junction = {' fallback' ,
195
198
no = group },
196
199
leisure = {' always' ,
@@ -228,7 +231,7 @@ module.MAIN_TAGS_POIS = function (group)
228
231
tourism = {' always' ,
229
232
no = group ,
230
233
yes = group ,
231
- information = ' fallback ' },
234
+ information = exclude_when_key_present ( ' information ' ) },
232
235
tunnel = {' named_with_key' ,
233
236
no = group }
234
237
} end
Original file line number Diff line number Diff line change @@ -232,15 +232,19 @@ Feature: Tag evaluation
232
232
n101 Ttourism=information,name=Generic
233
233
n102 Ttourism=information,information=guidepost
234
234
n103 Thighway=information,information=house
235
+ n104 Ttourism=information,information=yes,name=Something
236
+ n105 Ttourism=information,information=route_marker,name=3
235
237
"""
236
238
Then place contains exactly
237
239
| object | type |
240
+ | N100 :tourism | information |
238
241
| N101 :tourism | information |
239
242
| N102 :information | guidepost |
240
243
| N103 :highway | information |
244
+ | N104 :tourism | information |
241
245
242
246
243
- Scenario : Water feautures
247
+ Scenario : Water features
244
248
When loading osm data
245
249
"""
246
250
n20 Tnatural=water
You can’t perform that action at this time.
0 commit comments