mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
harmonize use of callback with set_entrance_filter
All other functions except a simple function, so do this here as well.
This commit is contained in:
@@ -109,9 +109,9 @@ Feature: Import of entrance objects by osm2pgsql
|
||||
Given the lua style file
|
||||
"""
|
||||
local flex = require('import-full')
|
||||
flex.set_entrance_filter{func = function(object)
|
||||
flex.set_entrance_filter(function(object)
|
||||
return {entrance='always', extratags = {ref = '1'}}
|
||||
end}
|
||||
end)
|
||||
"""
|
||||
When loading osm data
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user