Skip to content

Commit

Permalink
fix: disused, abandoned, proposed and razed railway lines not imported
Browse files Browse the repository at this point in the history
Fixes #157
  • Loading branch information
hiddewie committed Dec 8, 2024
1 parent b5d3ec5 commit d7b5940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/openrailwaymap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ function osm2pgsql.process_node(object)
end
end

local railway_values = osm2pgsql.make_check_values_func({'rail', 'tram', 'light_rail', 'subway', 'narrow_gauge', 'construction', 'preserved', 'monorail', 'miniature'})
local railway_values = osm2pgsql.make_check_values_func({'rail', 'tram', 'light_rail', 'subway', 'narrow_gauge', 'disused', 'abandoned', 'razed', 'construction', 'proposed', 'preserved', 'monorail', 'miniature'})
local railway_turntable_values = osm2pgsql.make_check_values_func({'turntable', 'traverser'})
function osm2pgsql.process_way(object)
local tags = object.tags
Expand Down

0 comments on commit d7b5940

Please sign in to comment.