-
Notifications
You must be signed in to change notification settings - Fork 120
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
Convert Natural Earth's road levels into shield enums, cleanup names #896
Comments
A European's perspective on "E" roads: They're a post-hoc addition, often not visible on signage. For example, the E-30 follows the M4 motorway east from south Wales towards London and (according to Wikipedia) turns north onto the M25 London orbital motorway. Mapillary has a good photo of the junction signage, which shows M25 to Watford, but no E-30 to Moscow. So if E-30 was shown on the map instead of M25, then I'd be pretty confused. It would be nice to have the information in tiles and perhaps show E roads as extra, secondary shields if there's space, but showing them instead of national shields would probably make it more difficult for people to navigate. |
Merging #900 here as it's all the same work:
|
Looking at the data in Canada, the TCH leaving Vancouver heading east is Is this the mapping we want?
Rather annoyingly, it seems that there isn't a universally well-followed convention for the The Canadian networks also seem to put the different segments of the roads in OSM into each province, which makes me wonder if |
Yes, I'm fine saying something like I'm proposing we ignore assigning Turns out there are many CAN Interstate roads in Ontario that aren't part of the Plus since this just applies to low zooms, it's unlikely different Canada "province" shields would be used to style these shields at these zooms, and we don't expect to have that shield artwork for any house style until at least v1.1 tiles release. If it's an problem in the future we can file a new issue to intersect with province boundary, or wait for Natural Earth to do that for us upstream. See also:
|
This is working! But a few caveats... I'm still seeing properties for (ref a retrospectively confusing comment in #896 (comment)) that I think we should remove for v1 (and never should be been included at zoom less than 7 anyhow): Remove properties:
NOTE: Looks like we could sometimes get more shield info by looking at those properties in Europe. But that's for another day (especially since they are mostly E-Roads). General screenshots: |
Also the this is outstanding:
|
Those names (Sunshine Coast Highway, Seward Hwy., and Portage Glacier Hwy) come from
Did you want |
Nice! That makes sense to me. Looking at the queries.yaml logic on queries.yaml#L494-L504, I wonder if we should NOT be dropping the shield information at lower zooms (else the only zoom this will show up in is zoom 7). Here's the current logic:
But it feels like we should keep just the singular So something more like:
(Please verify the And looking at zoom 7 we are generating the right shield bits from Natural Earth now, so the singular part should "just work" then. |
Problem: The filters which drop |
Drrr. If they're just going to get dropped, let's just not export names sourced from Natural Earth (no changes to dropping behavior, only export the ref values sourced from NE when they aren't those couple string values). |
👍 |
Picking up a thread in #890 (comment)...
We're exporting Natural Earth's road
level
values in tiles now, but they're only really useful for generating road shields. But they're not really setup that way. Let's use this as a stub for what highway shield enums should look like per country (country codes in thesov_a3
andref
values are in thename
column (I've verified there isn't super long text in there).Interstate
– surprisingly these are in all threeUSA
,CAN
,MEX
, with the vast majority being inUSA
only.E
- E roads in Europe, but Europeans don't always seem to take kindly to these types of shields (preferring their own national shields).Federal
– with sov_a3 values ofUSA
,CAN
,MEX
, andcontinent
value of Oceania.Ferry
– there are a few ferries with "shield text" ref values in the name column. They look to all be weird E road continuations.State
- No indication of which state is given.Other
- There are a few name values, but not many. Random small roads around North America.U/C
below, there are a lot of these.U/C
– there are only 5 of theseThe text was updated successfully, but these errors were encountered: