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

Incorporate country-coder for locale-specific logic #44

Closed
bdon opened this issue Jun 12, 2023 · 2 comments
Closed

Incorporate country-coder for locale-specific logic #44

bdon opened this issue Jun 12, 2023 · 2 comments

Comments

@bdon
Copy link
Member

bdon commented Jun 12, 2023

https://github.com/rapideditor/country-coder provides a complete, fast and purely geometric dataset we can use in-memory for java to determine locale for cartographic logic.

@1ec5
Copy link

1ec5 commented Feb 4, 2025

Some use cases for this functionality, off the top of my head:

  • Bank and ATM icons based on the local currency symbol
  • Culturally sensitive icons for Buddhist temples and post offices in Japan that would be poorly understood elsewhere (to say the least)
  • Regionally appropriate glosses of “local” names, independently of OSM’s name=* tags (which sometimes reflect some compromises)
  • Romanizations of non-Latin names according to national standards
  • Prioritizing each country’s major road network at low zoom levels independently of highway=trunk tagging, which can be a mess
  • One-way icons offset from the road, as in conventional print maps, but on the correct driving side
  • Route shields for some route networks like the Asian Highway that vary dramatically from country to country
  • The UK really, really likes their roads color-coded just so based on highway classifications

bdon added a commit that referenced this issue Feb 12, 2025
bdon added a commit that referenced this issue Feb 12, 2025
bdon added a commit that referenced this issue Feb 12, 2025
bdon added a commit that referenced this issue Feb 12, 2025
* add country-coder json [#44]
* handle edge cases in country-coder JSON
* precise filtering of country coder
* use planetiler GeoJSON module [#44]
@bdon
Copy link
Member Author

bdon commented Feb 12, 2025

Added in #328

@bdon bdon closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants