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

[FEATURE] Don't filter languages #1043

Open
tbodt opened this issue Sep 29, 2024 · 1 comment
Open

[FEATURE] Don't filter languages #1043

tbodt opened this issue Sep 29, 2024 · 1 comment

Comments

@tbodt
Copy link

tbodt commented Sep 29, 2024

Is your feature request related to a problem? Please describe.
The default planetiler OpenMapTiles-like config includes about 80 languages, which leaves out the long tail of hundreds of languages that have labels on Wikidata.

Describe the solution you'd like
Ideally, the default would be to suck in all language data without filtering. If the goal of language filtering is to save space, well it can't have saved that much space, since the uncommon languages by definition don't have a lot of labels! So would need to do an experiment to be sure, but simply pulling in all language data probably wouldn't inflate the tileset too much. And that marginal increase would be worth it, I think, for giving underrepresented languages instant access to maps in their language, with no requirements beyond typing labels into wikidata.

Describe alternatives you've considered
Adding languages one by one as they are requested, but that seems kind of like a pointless barrier

@msbarry
Copy link
Contributor

msbarry commented Sep 30, 2024

Hello! The default version should match OpenMapTiles defaults, hence this language list. Seems like it would make sense to add an --all-languages command line arg you can use to opt-into all languages without any filtering though.

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