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

error parsing style file #8

Open
mmc1718 opened this issue Sep 27, 2023 · 0 comments
Open

error parsing style file #8

mmc1718 opened this issue Sep 27, 2023 · 0 comments

Comments

@mmc1718
Copy link

mmc1718 commented Sep 27, 2023

Hello, this library sounds really useful. I am trying it out but get the following error

mapbox-filter: Parsing mapbox style failed: Error in $.layers[1]: Unknown function name / wrong param count: in CallStack (from HasCallStack): error, called at app/Main.hs:224:20 in main:Main

I think it might be caused by this part in the second layer in my style layers (at index 1 of layers):

"filter": [ "all", [ "in", "class", "residential", "suburb", "neighbourhood" ] ],

I understand not all expressions are supported. Is the 'in' not supported yet?

Thanks!

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

1 participant