You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this syntax is equivalent but a bit easier to read and possibly a bit faster to evaluate:
["in", ["get", column], ["literal", values]]
Note the use of ["literal", values] tells maplibre that values is vector (array)-valued without confusing the engine (since it is also using arrays of strings to build these function arguments!)
of course ideally our python (or R) wrappers would handle this stuff for us :-).
The text was updated successfully, but these errors were encountered:
Really minor thing, but we have been using this syntax for filtering the pmtiles in maplibre
I believe this syntax is equivalent but a bit easier to read and possibly a bit faster to evaluate:
Note the use of
["literal", values]
tells maplibre thatvalues
is vector (array)-valued without confusing the engine (since it is also using arrays of strings to build these function arguments!)of course ideally our python (or R) wrappers would handle this stuff for us :-).
The text was updated successfully, but these errors were encountered: