Skip to content

Commit

Permalink
Preserving the highway network in Canada for z4. (openmaptiles#1652)
Browse files Browse the repository at this point in the history
This PR reverts important Canada TransCanada road to zoom 4.

At zoom 4, the network `gb-trunk` is too dense, so it is moved to zoom 5+.
  • Loading branch information
TomPohys authored Apr 2, 2024
1 parent ee19519 commit 5969265
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layers/transportation/update_transportation_merge.sql
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,8 @@ BEGIN
transportation.changes_z4_z5_z6_z7.id = osm_transportation_merge_linestring_gen_z5.id
)) AND
(highway = 'motorway' OR construction = 'motorway'
) OR
(osm_national_network(network) AND network != 'gb-trunk'
) AND
-- Current view: national-importance motorways and trunks
ST_Length(geometry) > 1000
Expand Down

0 comments on commit 5969265

Please sign in to comment.