Skip to content

Commit

Permalink
Make boundaries as polygons (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobMiksch authored Dec 25, 2024
1 parent 1822fad commit 45c1b3a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ themepark:add_proc('relation', function(object)

if relation_type == 'route' then
geog = object:as_multilinestring()
elseif relation_type == 'boundary' or (relation_type == 'multipolygon' and object.tags.boundary) then
geog = object:as_multilinestring():line_merge()
elseif relation_type == 'multipolygon' then
elseif relation_type == 'boundary' or relation_type == 'multipolygon' then
geog = object:as_multipolygon()
end

Expand Down

0 comments on commit 45c1b3a

Please sign in to comment.