Open tomchadwin opened 6 years ago
There's obviously something the style parser is not expecting. Probably just something missing in the implementation and looking at your stacktrace (thanks for that!), that's not a big thing to fix.
Sorry for the delay @tomchadwin
This is caused by a paint object like this:
"paint": {
"fill-color": [
"match",
[
"get",
"type"
],
"Air Transport",
"#e6e6e6",
"Education",
"#f7eaca",
"Medical Care",
"#f3d8e7",
"Road Transport",
"#f7f3ca",
"Water Transport",
"#d8e6f3",
"hsl(55, 74%, 88%)"
],
"fill-opacity": 0.6
}
Is the issue as broad as that match
is not implemented at all, or is it more specific than that?
Correct. I fear the implementation of the style converter is a neverending story and its architecture is far from optimal. On the other hand, a well working converter would be a really nice feature.
Somebody any ideas or hints regarding the architecture of such a piece of code?
cc: @sfkeller
Might be specific to QGIS3 (EDIT: no, same error with QGIS2).
I'm getting this error when trying to use a published GL style for OS ZoomStack.
Path: C:/Users/tchadwin/Desktop/OS-Open-Zoomstack.mbtiles (downloaded from https://www.ordnancesurvey.co.uk/business-and-government/products/os-open-zoomstack.html)
GL Style JSON URL: https://raw.githubusercontent.com/OrdnanceSurvey/OS-Open-Zoomstack-Stylesheets/master/Vector%20Tiles/Mapbox%20GL%20Styles/OS%20Outdoor.json