From d7b594043356f1546750d6d485b30c6388cfdc0c Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sun, 8 Dec 2024 11:31:22 +0100 Subject: [PATCH] fix: disused, abandoned, proposed and razed railway lines not imported Fixes https://github.com/hiddewie/OpenRailwayMap-vector/issues/157 --- import/openrailwaymap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import/openrailwaymap.lua b/import/openrailwaymap.lua index 6043b48e..a849c689 100644 --- a/import/openrailwaymap.lua +++ b/import/openrailwaymap.lua @@ -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