Skip to content

Commit d68ae6e

Browse files
authored
Merge pull request #1143 from joto/bugfix-geom-transform
Add geom transformation in flex example config
2 parents 768ccda + dc8be4a commit d68ae6e

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)