Skip to content

Commit d3d9d0b

Browse files
committed
Boundary lines in shortbread have no names
Do not add the names from boundary ways to the output. Some ways have names but use is inconsistent and generally not useful in this context.
1 parent 444bfbd commit d3d9d0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/shortbread_v1/topics/boundaries.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ themepark:add_table{
1111
name = 'boundaries',
1212
ids_type = 'way',
1313
geom = 'linestring',
14-
columns = themepark:columns('core/name', {
14+
columns = themepark:columns({
1515
{ column = 'admin_level', type = 'int' },
1616
{ column = 'maritime', type = 'bool' },
1717
{ column = 'disputed', type = 'bool' },
@@ -71,7 +71,7 @@ themepark:add_proc('way', function(object, data)
7171
disputed = info.disputed or (t.disputed and t.disputed == 'yes'),
7272
geom = object:as_linestring()
7373
}
74-
themepark.themes.core.add_name(a, object)
74+
7575
themepark:insert('boundaries', a, t)
7676
end)
7777

0 commit comments

Comments
 (0)