File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ local hstore_match_only = true
3232-- be set through option -z|--hstore-column.
3333local hstore_column = nil
3434
35+ -- There is some very old specialized handling of route relations in osm2pgsql,
36+ -- which you probably don't need. This is disabled here, but you can enable
37+ -- it by setting this to true. If you don't understand this, leave it alone.
38+ local enable_legacy_route_processing = false
39+
3540-- ---------------------------------------------------------------------------
3641
3742if hstore and hstore_all then
@@ -646,7 +651,7 @@ function osm2pgsql.process_relation(object)
646651 return
647652 end
648653
649- if (hstore or hstore_all ) and type == ' route' then
654+ if enable_legacy_route_processing and (hstore or hstore_all ) and type == ' route' then
650655 if not object .tags .route_name then
651656 output_hstore .route_name = object .tags .name
652657 end
You can’t perform that action at this time.
0 commit comments