-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local Test Fixes #1505
Local Test Fixes #1505
Conversation
@@ -483,7 +483,7 @@ BEGIN | |||
WHERE | |||
(highway = 'motorway' | |||
OR construction = 'motorway' | |||
-- Allow trunk roads that are part of a nation's most important route network to show at z4 | |||
-- Allow trunk roads that are part of a nation's most important route network to show at z5 | |||
OR (highway = 'trunk' AND osm_national_network(network)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this highway = 'trunk'
necessary given the change at line 525?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is correct if we add all important networks independent of their highway/construction tags to z4 anyways we should do it here as well.
This PR reverses #1444 which corrected a bug introduced in #1440. It was never anyone's intention to show all motorways at z4, only the most important ones. So far "most important" has only been defined for the US and Canada, but the intent is that similar top-level networks in other countries would be similarly defined for visibility at z4. Unless there is a specific client demand for z4 motorways in general, I don't think it makes sense to render them to the tiles as a universal rule. Of course the client can always filter them out at style time. |
Hey, oh sorry so the intention of #1444 was to remove all motorways from Because in the currently released version 3.14 this table contains all motorways independent of their network tags. |
The intent of the transportation layer at zoom 4 is to render an unlabeled transportation network that shows the overall shape of the road network without excessive detail. Including "any motorway" at that zoom would include many motorway spurs and islands that aren't desirable to see at that zoom. Some of the discussion in ZeLonewolf/openstreetmap-americana#565 might be helpful to understand what this lowest-zoom rendering is trying to achieve. Also #1444 has some of the metrics, which include a 15% tile size difference at z5 (!!). Adding test cases of course is a good idea (and would have prevented me from making the mistake in the first case!) |
… and osm_transportation_merge_linestring_gen_z5;
22ec9c1
to
beca06a
Compare
Alright, have removed the commit and ammended the tests |
Have also removed this branch as a base for all the other PRs and rebased them ontop of master. |
Good work. I dropped a note in Slack asking for a maintainer to run workflows. |
thanks a lot :) |
Thanks a lot, @benedikt-brandtner-bikemap! Could you please also edit the "explanation text" for this PR? Thanks! |
Hey, have updated the title and description |
Thanks a lot! |
This PR fixes local tests affected by the changes introduced in #1440 #1444 #1361 #1501