geostyler / geostyler-style

Style declaration files for the GeoStyler project
https://geostyler.github.io/geostyler-style/docs/master/
BSD 2-Clause "Simplified" License
16 stars 15 forks source link

More functions #576

Closed KaiVolland closed 1 year ago

KaiVolland commented 1 year ago

This adds more functions to the geostyler-style.

And fixes #572

KaiVolland commented 1 year ago

I'm not sure about the typing of case. Maybe an array of [Expression<boolean>, Expression<PropertyType>] woulde better instead of {case: Expression<boolean>, value: Expression<PropertyType>} as the output would be smaller. I don't like the approach of mapbox which just puts "case" and "result" to odd and even indexes of the array.