Skip to content

Commit a9c2f2e

Browse files
authored
Merge pull request #12 from pnorman/ferries
shortbread: Don't produce motor_vehicle column for ferries
2 parents 3e11a92 + a23b811 commit a9c2f2e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

themes/shortbread_v1/topics/ferries.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ themepark:add_table{
1313
geom = 'linestring',
1414
columns = themepark:columns('core/name', {
1515
{ column = 'kind', type = 'text', not_null = true },
16-
{ column = 'motor_vehicle', type = 'bool' },
1716
{ column = 'minzoom', type = 'int', tiles = 'minzoom' },
1817
}),
1918
tags = {
@@ -37,10 +36,8 @@ themepark:add_proc('way', function(object, data)
3736
}
3837

3938
if t.motor_vehicle and t.motor_vehicle ~= 'no' then
40-
a.motor_vehicle = true
4139
a.minzoom = 10
4240
else
43-
a.motor_vehicle = false
4441
a.minzoom = 12
4542
end
4643

0 commit comments

Comments
 (0)