onthegomap / planetiler

Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
Apache License 2.0
1.36k stars 108 forks source link

[FEATURE] Don't filter languages #1043

Open tbodt opened 6 hours ago

tbodt commented 6 hours ago

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 commented 2 hours ago

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.