More roads for z4 and z5. (#1642)

This PR adds more roads to the zoom 4 for the United Kingdom and Ireland. Adding more roads for the USA at zoom 5.
This commit is contained in:
Tomas Pohanka 2024-03-13 10:12:03 +01:00 committed by GitHub
parent d6fd5ef7cb
commit 585b71f666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -31,7 +31,11 @@ $$
-- Canada
'ca-transcanada', 'ca-provincial-arterial',
-- United States
'us-interstate',
'us-interstate', 'us-highway',
-- UK
'gb-motorway', 'gb-trunk',
-- Ireland
'ie-motorway', 'ie-national',
-- Europe
'e-road',
-- Asia

View File

@ -807,7 +807,8 @@ BEGIN
WHERE transportation.changes_z4_z5_z6_z7.is_old IS FALSE AND
transportation.changes_z4_z5_z6_z7.id = osm_transportation_merge_linestring_gen_z5.id
)) AND
osm_national_network(network) AND
(highway = 'motorway' AND osm_national_network(network)
) AND
-- Current view: national-importance motorways and trunks
ST_Length(geometry) > 1000
ON CONFLICT (id) DO UPDATE SET osm_id = excluded.osm_id, highway = excluded.highway, network = excluded.network,