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

Define layer ID in Tileset YAML not in Layer YAML #43

Closed
lukasmartinelli opened this issue Nov 18, 2016 · 1 comment
Closed

Define layer ID in Tileset YAML not in Layer YAML #43

lukasmartinelli opened this issue Nov 18, 2016 · 1 comment
Milestone

Comments

@lukasmartinelli
Copy link
Contributor

The ID of the layer should be defined in the tileset not in the layer YAML.
This means you can pull in the layers as you want and still give them a custom name.

So not like this.

tileset:
  layers:
    - layers/boundary/boundary.yaml
    - layers/highway/highway.yaml
    - layers/highway_name/highway_name.yaml
    - layers/building/building.yaml
    - layers/housenumber/housenumber.yaml
    - layers/place/place.yaml

More like this.

tileset:
  layers:
    boundary: layers/boundary/boundary.yaml
    street: layers/highway/highway.yaml
    streetname: layers/highway_name/highway_name.yaml
    house: layers/building/building.yaml
    housenumber: layers/housenumber/housenumber.yaml
    place: layers/place/place.yaml
@lukasmartinelli lukasmartinelli modified the milestones: v3.3 Small Improvements of Layers, v3.4 Release OpenMapTiles, v3.3 Stable Schema Nov 24, 2016
@lukasmartinelli lukasmartinelli modified the milestones: v3.4 Improvements, v3.5 Improvements Jan 20, 2017
@jirik jirik modified the milestones: Later, v3.5 Improvements Mar 7, 2017
@MartinMikita MartinMikita self-assigned this Mar 4, 2019
@MartinMikita MartinMikita removed their assignment Mar 16, 2020
@nyurik
Copy link
Member

nyurik commented Sep 12, 2021

Layer ID is used by other layers to establish dependencies, so each layer has to be reliably referenced. Won't implement

@nyurik nyurik closed this as completed Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants