-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Dynamic point icon symbology based on feature attributes #387
Comments
Wouldn't this be up to the renderer to do? |
I'm not sure, if I understand correctly, but we have to specify what the renderer should display (e.g. via SLD). So als long as the styling format specifies the functionality for feature dependend styling, and a renderer properly implements the styling specification, everything should work fine. E.g. SLD allows feature dependend styling via |
I guess this is for conversions FROM geostyler styles TO sld documents. I'm not exactly sure how that's useful, our use case is the other direction - SLD -> OL - see geostyler/geostyler-openlayers-parser#364 (comment) |
I think that as long as the placeholders are converted from the SLD notation |
@jnewmoyer @jansule is this discussion solved or outdated? If so please close this issue. |
I'm pretty sure we are still doing special handling for the placeholders that aren't converted. However it could be fixed in the most recent release. We are a few versions behind. |
Right, this issue is not yet solved. We do not (yet) support templating strings as image source. |
Feature Request
Is your feature request related to a problem? Please describe.
Only one image can be applied for features in a layer. To have different icons, we need to either create multiple rules or have multiple layers for each image.
Describe the solution you'd like
Icon url should be decided based on feature attribute values and {{ templates }} in a similar way how the label for TextSymbolizer is created.
Describe alternatives you've considered
Walkaround is to create multiple rules and filters with one IconSymbolizer per each rule-filter pair.
Additional context
This is a copy of geostyler/geostyler-openlayers-parser#363 by @raitisbe. See also geostyler/geostyler-openlayers-parser#364
The text was updated successfully, but these errors were encountered: