Skip to content

Commit dc8be4a

Browse files
committed
Add geom transformation in flex example config
1 parent 5caa410 commit dc8be4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flex-config/default-config.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ function osm2pgsql.process_relation(object)
243243

244244
if type == 'route' then
245245
tables.routes:add_row({
246-
tags = object.tags
246+
tags = object.tags,
247+
geom = { create = 'line' }
247248
})
248249
return
249250
end

0 commit comments

Comments
 (0)