Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
add minzoom column to bikelanes
Browse files Browse the repository at this point in the history
  • Loading branch information
rush42 committed Apr 11, 2024
1 parent 139fe93 commit 48d08b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion processing/topics/roads_bikelanes/roads_bikelanes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ local bikelanesTable = osm2pgsql.define_table({
{ column = 'tags', type = 'jsonb' },
{ column = 'meta', type = 'jsonb' },
{ column = 'geom', type = 'linestring' },
{ column = 'minzoom', type = 'integer' },
},
indexes = { { column = 'osm_id', method = 'gist' } }
})
Expand Down Expand Up @@ -109,7 +110,8 @@ function osm2pgsql.process_way(object)
osm_id = cycleway._id,
tags = publicTags,
meta = Metadata(object),
geom = object:as_linestring()
geom = object:as_linestring(),
minzoom = 0
})
end
end
Expand Down

0 comments on commit 48d08b1

Please sign in to comment.