Skip to content

Document language support for taginfo - #22

Open
1ec5 wants to merge 2 commits into
mainfrom
1ec5-taginfo-language-2
Open

Document language support for taginfo#22
1ec5 wants to merge 2 commits into
mainfrom
1ec5-taginfo-language-2

Conversation

@1ec5

@1ec5 1ec5 commented Nov 11, 2024

Copy link
Copy Markdown
Member

Factored out the language list as a plain text file for easier diffing. Now running the rendering script also uses this file to generate a taginfo project file listing all the supported name:* subkeys. In the future, the project file template can be extended to cover other tags defined in layers (#2). The code that generates the project file requires jq for convenience, but if it’s a hassle to install that tool, we can replace it with some additional sed hackery or somesuch.

@1ec5 1ec5 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 11, 2024
@1ec5 1ec5 self-assigned this Nov 11, 2024
@1ec5
1ec5 force-pushed the 1ec5-taginfo-language-2 branch from 43a2b70 to 2329b44 Compare November 11, 2024 19:06
@quincylvania
quincylvania self-requested a review November 14, 2024 16:29
@1ec5 1ec5 mentioned this pull request Nov 25, 2024
@1ec5

1ec5 commented Dec 11, 2024

Copy link
Copy Markdown
Member Author

This will need a rethink as of #24. I guess we could do something like pull the full list of name:*=* subkeys from taginfo just to populate a taginfo project file that says the same thing for each one. 😂

@1ec5

1ec5 commented Nov 20, 2025

Copy link
Copy Markdown
Member Author

I guess we could do something like pull the full list of name:*=* subkeys from taginfo just to populate a taginfo project file that says the same thing for each one. 😂

OpenHistoricalMap’s Tegola-based tile server has a step that monitors the database for these subkeys, which could help populate the project file: OpenHistoricalMap/issues#604 (comment). I don’t know if Planetiler has a similar hook, but if not, we could call out to the taginfo API to get these statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant