Skip to content
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

GraphicFillPadding needed to add space around Fill repeated pattern #650

Open
ger-benjamin opened this issue Nov 12, 2024 · 0 comments
Open
Assignees

Comments

@ger-benjamin
Copy link
Member

ger-benjamin commented Nov 12, 2024

Feature Request

Is your feature request related to a problem? Please describe.

Using geostyler-lyrx-parser, I can read polygon with FillGraphic pattern. But I can not translate the padding around repeated symbols. (The offset didn't help)
The result is this one:
Screenshot from 2024-11-12 15-31-06
Screenshot from 2024-11-12 16-10-46

Describe the solution you'd like
I would like a solution to have space around PointSymbolizer fill marker in polygon. I propose to add a GraphicFillPadding?: expression<number>[] next to the GraphicFill poperty in on the FillSymbolizer: https://geostyler.github.io/geostyler-style/docs/main/interfaces/FillSymbolizer.html#graphicFill

The result could be something like:
Screenshot from 2024-11-12 15-37-14
Screenshot from 2024-11-12 16-09-43

Describe alternatives you've considered
Otherwise, it would be possible to add a adding in the PointSymbol itself, but I think it doesn't make sens in other context than the GraphicFill/FillSymbolizer.

Additional context
In my use case, the GraphicFillPadding would be translated as VendorOption "graphic-margin" in the geostyler-sld-parser.
See also the related geostyler-lyrx-parser issue: geostyler/geostyler-lyrx-parser#64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants