-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
mapbox integration level #127
Comments
Nice timing, we are planning a codesprint right now, and you are invited of course :-) https://geostyler.org should have all needed infos. We'll surely then find time to work in a roadmap, and maybe even find time to support more Mapbox syntax. I hope others might weigh in with more details to your actual questions. |
Great ! Nice project. I will discuss with my team. We are quite on a tight schedule on this, but we will discuss. Thanks :) |
We currently only provide a small subset of mapbox expressions, since it is a lot of work to implement these for the other parsers. Currently supported expressions for the mapbox parser can be found here: https://github.com/geostyler/geostyler-mapbox-parser/blob/master/src/MapboxStyleParser.ts#L372. Currently supported filters/expressions in geostyler-style can be found here: https://github.com/geostyler/geostyler-style/blob/master/style.ts#L103 Please notice that not all parsers support all filters/expressions specified in geostyler-style. We are also thinking about more verbose ways for listing supported/unsupported features of the different parsers, which we might be able to work on in the upcoming code sprint. |
Thanks :) In the meantime, I looked at the code source to check where I would be able to improve stuff. Then I looked at the source code of mapbox/maplibre-gl to see how they parse their own filters. Then I went outside for a bike ride :/ I spotted two fundamental issues :
For now, my strategy is to simplify a lot all our styles to get something basic, easy to parse and convert, while making sure it will not bring errors later in the process. We will keep in touch for the next steps |
Question
I'm not sure to understand the level of completion of this package. Is there a roadmap I've missed ?
I have – a lot – of mapbox styles that need to be converted to SLD. My idea was to parse and convert them using this package, but the expressions not handled seems to be passed to geostyler "as is" : not processed at all in the resulting SLD.
Example :
mapbox
gstyle
sld
Thanks :)
The text was updated successfully, but these errors were encountered: