Questions tagged [rule]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 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
1answer
61 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
1answer
57 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
1answer
48 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
2answers
93 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
2answers
82 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
2answers
224 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
1answer
29 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
1answer
155 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
1answer
218 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
1answer
316 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
1answer
307 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
2answers
591 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 ...
8
votes
4answers
953 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
1answer
345 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
0answers
86 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
1answer
357 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....