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

background layer type stops conversion #265

Open
geographika opened this issue Jun 8, 2023 · 0 comments
Open

background layer type stops conversion #265

geographika opened this issue Jun 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@geographika
Copy link

Bug

Describe the bug
Attempting to translate a MapBox style from https://github.com/openmaptiles/osm-bright-gl-style/ throws an unsupported error due to the following block:

  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {"background-color": "#f8f4f0"}
    },

https://github.com/openmaptiles/osm-bright-gl-style/blob/8af4769692d0f9219d0936711609d580b34bf365/style.json#L35

To Reproduce

Run the GeoStyler client on the file:

.\geostyler-cli -s "mapbox" -o bright.geostyler /osm-bright-gl-style/style.json


✖ Error during translation of file "/osm-bright-gl-style/style.json": Error: Could not parse mapbox style. Unsupported layer type.
                We support types 'fill', 'line', 'circle' and 'symbol' only.

Expected behavior
Ideally the translation would happen, and output a warning about not supported layers, but continue to translate the remainder.

Desktop (please complete the following information):

  • v3.0.0 of GeoStyler Client
@geographika geographika added the bug Something isn't working label Jun 8, 2023
@geographika geographika changed the title background layer type stops convertsion background layer type stops conversion Jun 8, 2023
@KaiVolland KaiVolland moved this to Todo in CodeSprint 2024 May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Todo
Development

No branches or pull requests

3 participants