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

Refs with dual numeral systems #465

Open
claysmalley opened this issue Jun 28, 2022 · 4 comments
Open

Refs with dual numeral systems #465

claysmalley opened this issue Jun 28, 2022 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed internationalization shields

Comments

@claysmalley
Copy link
Member

claysmalley commented Jun 28, 2022

Some countries have route shields posted with local numeral systems alongside Western Arabic numerals. These could potentially be displayed side-by-side, or one at a time with language switching (#21).

For example, Iran (#463, #464) posts Persian numerals:

Iran_Freeway_7 Iran_First_Level_Road_44 Iran_Second_Level_Road_122

In the case of Iran, the route relations are tagged with Western Arabic numerals in ref=* and Persian numerals in ref:fa=*. Only ref=* is surfaced in OpenMapTiles, and none of the available fonts have glyphs for Persian numerals. These issues would need to be resolved before support can be added for Persian numerals on Iranian highways.

@1ec5
Copy link
Member

1ec5 commented Jun 28, 2022

Saudi Arabia posts its route numbers only in Eastern Arabic numerals, but currently they’re tagged only in Western Arabic numerals: #467.

@1ec5
Copy link
Member

1ec5 commented Jun 28, 2022

For some ROC shields, we’re showing Chinese characters instead of the corresponding alphabetic suffixes because that’s what’s in the vector tiles: #141 (comment).

@ZeLonewolf ZeLonewolf added the help wanted Extra attention is needed label Jun 29, 2022
@1ec5
Copy link
Member

1ec5 commented Jul 2, 2022

In addition to numeral systems, some refs contain homoglyphs. For example, in Greece, we display shields for E roads using the Latin “E” but motorways using the Greek “Α” and national roads using the Greek “ΕΟ”.

Greece

Meanwhile, in Belarus, many routes have been mistagged with “false friend” homoglyphs, such as the Latin “P” instead of the Cyrillic “Р” that corresponds to the Latin “R”, or the Latin “H” instead of the Cyrillic “Н” that corresponds to the Latin “N”. This is currently tripping up some navigation software.

For Americana, homoglyphs probably don’t make a huge difference, since we’re relying on network values that spell out the intended network in English to choose a shield background image. However, it’s a good argument for expecting the relations to be explicitly tagged with the route numbers in each writing system if so desired, rather than relying on automated transliteration on the client side.

@claysmalley
Copy link
Member Author

Highways in Iraq are signed with both Western and Eastern Arabic numerals: #557

@claysmalley claysmalley changed the title Refs with other numeral systems Refs with dual numeral systems Apr 8, 2023
@claysmalley claysmalley added the bug Something isn't working label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed internationalization shields
Projects
None yet
Development

No branches or pull requests

3 participants