osm-americana / openstreetmap-americana

A quintessentially American map style
https://americanamap.org
Creative Commons Zero v1.0 Universal
183 stars 59 forks source link

Shields of Norway #1110

Open claysmalley opened 4 months ago

claysmalley commented 4 months ago

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

ZeLonewolf commented 4 months ago

Is the dashed border something we need to support?

claysmalley commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

Forum post: https://community.openstreetmap.org/t/gjennsyn-med-e-road-relasjonane/115310/2

hohMiyazawa commented 4 months ago

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

ZeLonewolf commented 4 months ago

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 commented 3 months ago

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.