Skip to content

Commit

Permalink
Potential fix for display of antimeridians as part of the border rend…
Browse files Browse the repository at this point in the history
…ering, see issue gravitystorm#3504 and comment gravitystorm#3504 (comment)
  • Loading branch information
mboeringa authored Jan 9, 2023
1 parent 7c75f34 commit 6b26d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstreetmap-carto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ end
function osm2pgsql.process_way(object)
if osm2pgsql.stage == 2 then
-- Stage two processing is called on ways that are part of admin boundary relations
if phase2_admin_ways_level[object.id] then
if object.tags.closure_segment ~= 'yes' and phase2_admin_ways_level[object.id] then
tables.admin:add_row({admin_level = phase2_admin_ways_level[object.id],
multiple_relations = (phase2_admin_ways_parents[object.id] > 1),
way = { create = 'line' }})
Expand Down

0 comments on commit 6b26d16

Please sign in to comment.