-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Possible to add a rule based on comparison between columns? #2376
Comments
I'm not quite sure, I correctly understand what you are intending to do. Could you provide a minimal code sample or even some pseudo-code so that it becomes clearer to me? |
If I click on one of these features, I set the column "valueToBeSetDuringAClickAction" with the content of the clicked feature (column value). Here if i click on the feature with id =2 Here my question: Is it possible to filter values based on 2 columns, returning a true/false logic?
|
Thanks for providing more info @pelord. So for the case you mentioned, you would like to compare the value of column This should be possible with following filter:
Following PR and related issue might be interesting for you in that case: geostyler/geostyler-openlayers-parser#794 geostyler/geostyler-openlayers-parser#791 |
Please note that the UI cannot handle this currently. Also support for the different parsers might vary as well. |
I will give a try to your exemple soon! |
It seems like this issues could haven been solved. If I'm wrong please reopen or comment @pelord . |
Question
Is it possible to set a filter based on comparison between 2 properties
In this case, I try to style data based on a parent child relationship.
The base style for parent is a blue dot
The childs are not shown until a parent is clicked.
When I click on the parent, I set for every feature, the property _effectiveCondition based on the parent id.
Then, I want to style the childs based on the clicked parent..
The text was updated successfully, but these errors were encountered: