-
Notifications
You must be signed in to change notification settings - Fork 647
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
Remove bundled styles and fonts #271
Comments
you say V3 !!! can't wait to see what awesomness it will bring us :-) with the current V2 version, can i solve this missing labels issue, or do i need to wait for the next version. |
Yes, of course, you can solve this now -- just make sure to download the correct version of OpenMapTiles style for the OpenMapTiles data you have downloaded. The latest version of styles (see e.g. https://github.com/openmaptiles/klokantech-basic-gl-style/releases) should always be compatible with the latest version of data. (If you have some older OpenMapTiles data, you might need an older version of the style.) Then create the config file based on the documentation linked above (also see the http://tileserver.readthedocs.io/en/latest/config.html#referencing-local-files-from-style-json section). |
Before this is done, shouldn't the styles' urls be updated so that they work locally? [Edit]: Found the github pages versions that contains a local version, but would be really nice to have access to the build tools for the styles. |
Partially done in v3.0.0 |
In the next major release (v3), the bundled styles and fonts will be removed.
The current version of TileServer GL (v2) contains bundled OpenMapTiles styles and fonts (via
tileserver-gl-styles package
dependency).It is getting increasingly hard to maintain the version of the styles and its compatibility with the latest OpenMapTiles data. When there is a new version of OpenMapTiles data released, the styles bundled with TileServer GL need to be updated in order to match the version, but there is a risk of breaking compatibility with the older version of data.
As a result, there were recent reports of missing labels (#260, #267) and possibly other issues related to this.
When the bundled styles and fonts are removed, the developers will have to download the styles (see e.g. https://openmaptiles.org/styles/) and create a
config.json
file (see http://tileserver.readthedocs.io/en/latest/config.html). Then, you will be able to upgrade the TileServer GL without worrying about unwanted style update and also update the styles independently without having to upgrade the TileServer GL.This cleanup will also make the TileServer GL a little more data-agnostic, independent and less interconnected with the OpenMapTiles project.
The text was updated successfully, but these errors were encountered: