Open joserwan opened 1 year ago
Thanks for the info @joserwan!
We actually do provide a format
property in geostyler-style (see https://github.com/geostyler/geostyler-style/blob/master/style.ts#L431). However, it seems like we do not use it yet in geostyler-sld-parser.
I would suggest to adjust following things:
this.getTagName('format')
, so that we support both SLD versions?format
property on the geostyler style is set, and only derive the format from the file name as fallback?Also, it would be great if you could create a Pull Request for this :rocket:
Sorry for the delay, I missed the notification.
I'll have a look on that in the next weeks, for now I'm too busy. Thank you for your feedback !
@joserwan are you still planing on providing a PR here? Otherwise we might have the chance to fix this during the next codes sprint.
Bug
Describe the bug
The
<Format>
tag is missing when converting from geostyler to SLD.To Reproduce
Result:
Expected behavior
Additional context Node v20.8.0 Debian geostler-sld-parser v5.1.0
My fix
PS: Thank you for your awesome work !!