- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 61
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
multilingual labels default, don't default to English, add romanizations #14
Comments
@bdon thanks for this work! I was searching for ways to create a world(!) map with English/international map labels, preferably showing BOTH (or switch in the style to) the English one AND the local one. For an emergency response org, with world coverage it would be very cool to be able to generate tiles with 'both' language labels. And be able to use this (in QGIS) with only local resources (so non-connected laptops can just have their own basemap. Had a look into https://github.com/protomaps/basemaps/blob/main/tiles/src/main/java/com/protomaps/basemap/names/OsmNames.java but it looks like just one name is saved into the tile objects? One issue I have with other Tool chains is to setup the fonts for all local languages. Again, Thanks for this work! |
I think an option for dual-stack labels is in scope for our default map style - top is the chosen language, bottom is the local language. This will require some tile-side logic like parsing out As of right now it should have most I'm making progress on #41 which is a prerequisite to this as you mentioned. |
I would solve this problem country by country. OpenStreetMap does not have a consistent way of handling multilingual place labels, and automating based on OSM data could be hard. Similar for Wikidata I think. But we could go through the countries one by one, and have a look how much sense the top n cities make based on their QRank value. |
Also related in #44. |
https://gitlab.gnome.org/GNOME/gnome-maps/-/blob/main/src/osmNames.js might be interesting |
@wipfli we need something that's license compatible, deriving from that file is GPL however. |
Closing this as completed, current status is https://docs.protomaps.com/basemaps/localization Further improvements in #276 |
No description provided.
The text was updated successfully, but these errors were encountered: