Questions tagged [rule]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
user avatar
  • 101
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 ...
user avatar
  • 2,190
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 ...
user avatar
  • 39
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 = "...
user avatar
  • 53
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. ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 925
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 ...
user avatar
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 ...
user avatar
  • 143
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?
user avatar
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 "...
user avatar
  • 55
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 21
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 ...
user avatar
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 ...
user avatar
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. ...
user avatar
  • 379
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 ...
user avatar
  • 377
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 ( ...
user avatar
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....
user avatar
  • 2,514