Skip to content

Commit 45c1b3a

Browse files
authored
Make boundaries as polygons (#62)
1 parent 1822fad commit 45c1b3a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

data/import-theme/osm-feature-info/topics/geography_tables.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ themepark:add_proc('relation', function(object)
5252

5353
if relation_type == 'route' then
5454
geog = object:as_multilinestring()
55-
elseif relation_type == 'boundary' or (relation_type == 'multipolygon' and object.tags.boundary) then
56-
geog = object:as_multilinestring():line_merge()
57-
elseif relation_type == 'multipolygon' then
55+
elseif relation_type == 'boundary' or relation_type == 'multipolygon' then
5856
geog = object:as_multipolygon()
5957
end
6058

0 commit comments

Comments
 (0)