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

Duplicate entries in layers.json #20

Open
lonvia opened this issue Sep 18, 2021 · 0 comments
Open

Duplicate entries in layers.json #20

lonvia opened this issue Sep 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@lonvia
Copy link
Member

lonvia commented Sep 18, 2021

Rerunning the tile generation usually only adds new layers and leaves existing ones untouched. This is a good behaviour when you want to just regenerate a single layer. But there are some corner cases where you end up with bogus entries in the file:

  • when changing the WebPrefixPath, all entries now exist with the old and new prefix
  • when changing the name of the layer, the old layer name remains in the layer.json

Two possible solutions to the problem:

  • when running with --execute-all always create the layers.json file from scratch
  • always remove entries that do not correspond to the current prefix path
@AntoJvlt AntoJvlt added the enhancement New feature or request label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants