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

Add zoom/scale expression #640

Open
jansule opened this issue Jun 25, 2024 · 0 comments
Open

Add zoom/scale expression #640

jansule opened this issue Jun 25, 2024 · 0 comments
Assignees

Comments

@jansule
Copy link
Contributor

jansule commented Jun 25, 2024

Feature Request

Is your feature request related to a problem? Please describe.

Some formats/styles may contain zoom/scale based expressions that are currently not supported in geostyler-style.

E.g. see following mapbox snippet:

"paint": {
      "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"], // <--------- zoom level as input for the interpolate expression
          12,
          2,
          15,
          4,
          19,
          35
      ]
}

Describe the solution you'd like

It would be great to include this into geostyler-style.

Please note that SLD does not seem to support zoom/scale based expressions. There, the scaleDenominators seem to be the only way of handling different styles based on zoom/scale.

Describe alternatives you've considered
...

Additional context
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants