-
-
Notifications
You must be signed in to change notification settings - Fork 126
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] Option to include selected tags other than those permitted by com.onthegomap.planetiler.util.LanguageUtils.VALID_NAME_TAGS? #1184
Comments
Hello! I think your best bet would be to fork planetiler-openmaptiles to get full customization over what name tags it passes through, or open up a discussion in openmaptiles repo if you think there's a solution that would be useful to all consumers and it will eventually get ported over to planetiler-openmaptiles. That being said, it could make sense to change |
I had been thinking about the latter approach: |
In OSM, the language subkey syntax is generalizable to a large number of base keys, not only |
OK great thanks for the input! Looks like it would be possible to do entirely within planetiler by changing To do it in a planetiler-openmaptiles fork, you should only need to update |
Many thanks. I'm still not sure I understand the processing flow, but I took a stab at a change. In view of the fascinating discussing here (really appreciate @1ec5's commentary in that thread!), I've a question in my mind as to whether what I'm looking for is properly a translation or just extra name tags. However, since
|
That makes sense. If you don't need it to be configurable, you could just add one line to |
Is your feature request related to a problem? Please describe.
I really hate to bring this up... We unfortunately have a requirement to deal with tags from OSM for node labels that are other than the name:* tags. In particular, official_name:* and nat_name:*. I don't see an option to specify additional tags.
Describe the solution you'd like
Command line option to specify a list of tags to include in the mbtiles output beyond those implied by the --languages option.
Describe alternatives you've considered
We're using MapLibre GL JS to render mbtiles, and we're using standard styles for it (OSM Bright, etc). We've got some logic that can load a style and then substitute more flexible rendering for feature names beyond the "text-field": "{name}" that comes standard with these styles. However, we need the tags for certain features beyond translation and transliteration tags.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: