Skip to content
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

Shields of Norway #1110

Open
claysmalley opened this issue Jun 16, 2024 · 9 comments
Open

Shields of Norway #1110

claysmalley opened this issue Jun 16, 2024 · 9 comments
Labels
blocked enhancement New feature or request internationalization mapping Changes needed to OpenStreetMap shields

Comments

@claysmalley
Copy link
Member

Norway posts two networks of routes: national roads (riksveier) and county roads (fylkesveier). National roads have a white-on-green rectangular shield, matching that of the E-road network. County roads also have a rectangular shield, but black-on-white.

Before shields can be supported in Americana, the Norwegian mapping community needs to come to a consensus on how to tag route relations.

image

@claysmalley claysmalley added enhancement New feature or request mapping Changes needed to OpenStreetMap internationalization shields labels Jun 16, 2024
@ZeLonewolf
Copy link
Member

Is the dashed border something we need to support?

@claysmalley
Copy link
Member Author

Is the dashed border something we need to support?

No, it's the same thing as this. Nordic countries use a dotted-line border where US states would use a "TO" banner.

@hohMiyazawa
Copy link

Routes in Norway are mapped with ref on the highway segments. There is little motivation in the community for making these into relations.

All refs starting with an "E" (Europaveier) use green shields, the other national roads have no tagging identifying them as such except for the ref number, which would have to be looked up in a list of ~50 numbers. (They do not change often).

@claysmalley
Copy link
Member Author

For Americana, we've chosen to use route relations instead of ways when determining what shields to display, with limited exceptions where it would be technically unfeasible. Currently, the exceptions are Ireland and the UK, where shield appearance is determined by the classification of the road (i.e. the value of highway=*), rather than the number. Mapping these distinctions in relations would involve laborious, redundant micromapping, thus it would not be a good fit in these countries. It helps us that they're situated on islands (see discussion here). But generally, there needs to be a strong case that route relations would be insufficient or cumbersome for us to consider an alternate technical solution.

Americana already supports the E-road network—it recognizes relations tagged route=road + network=e-road and assigns them green rectangular shields accordingly. E-road relations seem to be completely mapped in most countries where they're present (even in Ireland and the UK), but there is a mysterious Norway-sized gap.

@hohMiyazawa
Copy link

hohMiyazawa commented Jun 28, 2024

Since the E-roads are fairly standard, I suppose route=road + network=e-road would be the way to go about it in Norway too.

Focusing on creating relations for those would give 80% of the benefit for 20% of the work of doing everything.

I can propose making relations for the e-roads in the community.

@ZeLonewolf
Copy link
Member

@hohMiyazawa
Copy link

A couple of the more active members have commented there, and road relations are not something they are positive to.

@ZeLonewolf
Copy link
Member

As I noted on that thread, we style highway shields based on OpenMapTiles schema, specifically the route_N_* attributes in the transportation_name layer. So, the Norway community would either have to come to a consensus on mapping route relations or else someone would need to figure out how to modify OpenMapTiles in order to create a special case for Norway.

@ZeLonewolf
Copy link
Member

Based on discussion in:

There is no consensus in Norway to map road relations of any kind, and in fact they have deleted them where they previously existed per the first thread. Norway is an outlier in that they are the only country which does not have E-road route relations. Given that, we are not able to support highway shields in Norway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request internationalization mapping Changes needed to OpenStreetMap shields
Projects
Development

No branches or pull requests

3 participants