GeoServer <sld:VendorOptions name="graphic-margin" />
handling is unstable
#987
Labels
bug
Something isn't working
Bug
Describe the bug
The in #971 introduced support for GeoServer
<sld:VendorOptions name="graphic-margin" />
tags, does not handle all supported format definitions of thegraphic-margin
property.Currently the parser expects multiple margins to be separated by comma. As stated in this GeoServer guide, multiple margins can be separated by space.
To Reproduce
Steps to reproduce the behavior:
1.Use https://github.com/geostyler/geostyler-sld-parser/blob/main/data/slds/geoserver/pattern_polygon.sld
<sld:VendorOptions name="graphic-margin" />
to spacesSymbolizer#graphicFillPadding
is an array ofNaN
.Expected behavior
<sld:VendorOptions name="graphic-margin" />
tags with multiple margins separated by space should be supported.Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
If desired I am happy, to provide a PR to fix this bug.
The text was updated successfully, but these errors were encountered: