Questions tagged [rule]
The rule tag has no usage guidance.
20
questions
0
votes
0
answers
40
views
GetLegendGraphic with Filtered Range Rules
I have a style with several rules that include range filters. I'm having a hard time getting the appropriate legend graphic for a specific record.
For example, a soil depth of 3 should return the ...
3
votes
1
answer
210
views
QGIS rule based symbology best way to only display the right attributes
I have a layer with multiple columns that users need to toggle on and off for different maps/visualizations
In the example below, I want to show different colors by using the planner, and a different ...
3
votes
0
answers
66
views
Auto updating rule based symbology categorised by date
I have a shapefile of "Detection Points". These have a "strength" attribute and a "date" on which each was made. Data collection is ongoing - that is it began in April ...
0
votes
1
answer
22
views
Adding representation rule by object's attribute value in ArcPy
I want to add a representation rule for each object in a FeatureClass with ArcPy.
I have 3 rules (B, F, T) as seen in the picture below:
I know there is a command for it
representation = "...
1
vote
1
answer
83
views
QGIS rule based styling - rule ordering
I’m experimenting with some rule based styling which is working really well to a point but I’m hoping it can do more. I work in school transport I’ve plotted all pupils in a certain school on the map. ...
1
vote
1
answer
76
views
Problem with SLD Style definition - Filters in Rules
I created a style in QGIS, exported in SLD and imported in geoserver. However validating throws me errors. I tried a lot of variants according to geoserver documentation and stackexchange solutions ...
4
votes
1
answer
55
views
Checking if value from one column is in multiple other columns
How do you write an expression for a style rule that will check if the value from column A exists in columns B, C, D & E?
I have a polygon layer that I would like to flag with a style depending ...
2
votes
2
answers
116
views
Problem SLD LineSymbolizer
How can I solve this problem with my SLD code for styles. When I do two scale ranges for a one lineSymbolizer to use another color or another thickness they appear twice in the legend of my viewer ...
0
votes
2
answers
90
views
Random behaviour with rule base labels (v3.4.1)
I have a layer with rule based labelling enabled. There are two label styles: a base style for all labels (no filter) and a highlight style which is intended to apply to features with a particular ...
5
votes
2
answers
336
views
QGIS Put a label only on selected polygons
I'd like to labelling only some polygons of a layer which are inside another polygon from another layer. Have you an idea how to do this? May be with a label rule?
0
votes
1
answer
33
views
Filtering stores location with login rules using GeoServer?
I want to filter the location/directory proposed by the stores, with the login rules.
More clearly, If my user "John" can only access/admin the "JohnWorkspace", I want he saw only one directory "...
0
votes
1
answer
179
views
Based on what rule does Raster Calculator produce output when the input rasters are misaligned?
Taking into account the following assumptions:
we have 2 rasters (satellite images from different satellite platforms) of the same pixel size, same coordinate system, little bit misaligned, Snap to ...
1
vote
1
answer
255
views
Connecting Add Feature Class to Topology to Add Rule to Topology in ModelBuilder?
I have a question regarding to how to connect the outputs of "Add Feature Class to Topology" to "Add Rule to Topology" in ModelBuilder.
As the picture shows, I want add a rule ...
2
votes
2
answers
341
views
QGIS layer style rule copy+paste bug?
I want to create several rule based styles on a layer. The rules are very similar, therefore I copy the first one then paste it multiple times and make the slight modifications on the pasted ones. The ...
11
votes
1
answer
334
views
cumulative atlas in QGIS 2.14 and above?
I have a question about something which I think is possible but just can't get my head round it, and haven't found any answers online. I'm using $id= @atlas_featureid in QGIS 2.14 to create an set of ...
5
votes
2
answers
654
views
How can I apply a style rule to multiple categories? (2.14 and above)
I think this used to be more straightforward in earlier QGIS versions, but with more powerful rule-based styling (great development) I am now a little confused as to how to apply a rule to multiple ...
9
votes
4
answers
1k
views
Showing only point markers when labels are shown in QGIS?
Is there a chance to define a QGIS style rule to just show point markers when their label is shown?
My aim is to exclude all points which are not labeled because of collision between labels.
...
1
vote
1
answer
359
views
Styling features based on a custom rule using GeoTools
I have a Java swing app which loads lines shapefiles which represents a road system. I want to show the congested roads on this map with a separate style.
My current approach
I have two attributes ...
3
votes
0
answers
95
views
How to use a conditional logic on Impervious Mapping
I am trying to use a logic ( rule -based classification ) to extract built-up area, similar to as suggested by Xu (2007).He uses, three spectral indices, SAVI( Soil Adjusted Vegetation Index), NDBI ( ...
0
votes
1
answer
369
views
Can I make a rule in Openlayers2.13 in which I will have multiple properties and values
Can I make a rule in Openlayers2.13 in which I will have multiple properties and values? This is what I have now:
new OpenLayers.Rule({
name: "NORTH",
filter: new OpenLayers.Filter....