Questions tagged [rule-based]

The tag has no usage guidance.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
83 views

QGIS rule based symbology for rasters in Atlas?

I'm making species distribution maps and have got the Atlas working perfectly using a polygon layer to show the quarter degree grid cells for species observation records. I have ~ 250 species. Problem ...
3
votes
0answers
32 views

Label only the maximum value when I zoomed out or print in smaller scale using QGIS

I would like to prioritise the maximum values to be shown on the map. In other words, when the label collides it should drop out the minimum values. In the shown examples, I would like to have ...
3
votes
1answer
81 views

Nested rules in QGIS 2.18

I work with QGIS 2.18. I have a polygon shapefile with two atrributes: id (unique for each polygon) and type. I visualize the shapefile using the "type" attribute, but I would like to add a nested ...
3
votes
0answers
69 views

SOL help in QGIS: rule based styling to show timestamp increase via gradient

I have some polygon data from a tractor that shows it's route among other things. It has a timestamp column which I'd like to use to show the route in which the tractor drove through the field via a ...
2
votes
1answer
45 views

Features color based on layer's color in QGIS

Is there a way to synchronize the selection color with a layer's color in QGIS?. Following this post https://gis.stackexchange.com/questions/111784/displaying-only-selected-features-on-map-in-qgis#= ...
2
votes
0answers
24 views

Moving individual labels & rule-based labelling in QGIS

I have been playing around with labels and came to a problem. Hopefully someone can pinpoint whether I'm doing something wrong or there is a systemic hurdle in Qgis. Are you allowed to move labels ...
2
votes
0answers
39 views

Save QGIS style created with espression string builder

I created a rule-based renderer with espression string builder, where I also use the function editor in Python. When I share the style (qml) file with others, I realized that the Python function I ...
2
votes
3answers
312 views

Multiple overriding rules for styling in QGIS 3.4.0

I am a total beginner to QGIS and still struggling with the basics. After a quick research on this forum I could not find the answer to my current issue. What I am trying to do is to colour the ...
2
votes
0answers
139 views

Set a rule for grow region in eCognition

I am using the grow region algorithm in eCognition sofrware in order to merge my candidate class. I want to set the rule : two candidated objects are merged only if the length/width ratio of the ...
1
vote
1answer
43 views

Rule for labeling ways not being part of OSM relation in QGIS

A brief overview of what I want to achieve: Create a map showing all cross-country ski trails in a specific region with some customizations/styling on them. The data come from OpenStreetMap ...
1
vote
0answers
36 views

How to add rules to the topology from a .rul in ArcPy

I am trying to create a new topology using and ArcPy script and I have a lot of rules inside a .rul archive. The function to do that is: arcpy.AddRuleToTopology_management(out_topo, rule_type, in_fc1,...
1
vote
0answers
146 views

Rule-Based Styling not working in QGIS?

I'm trying to create a shapefile I can use as a template for a breeding bird survey. The basic gist was that each species has a two letter code and a colour depending on the BTO listing. Each bird is ...
1
vote
0answers
225 views

Automatic refreshing of Styles and legends in QGIS?

I am a new QGIS user. I come from an Arcgis background, but in my current work for a public administration I must use QGIS for interoperability. As an ArcMap user, I am used to certain "comforts", ...
1
vote
0answers
49 views

QGIS .shp joined to xlsx.vrt; Classify works, Rule-based does not

Very simple set up. Tiger .shp file as a layer. Has a join to an xlsx non geo attribute table as a .vrt .shp has join on MTFCC to MTFCC in xlsx.vrt. xlsx.vrt, has a string field with a brief label ...
1
vote
0answers
118 views

C++ QGIS Conditional Label Colouring

I am using QGIS and C++. When I create a layer of polygons with labels in the center I am able to use a RuleBasedRenderer to control the background colour of the polygon. How do I similarly control ...
0
votes
0answers
17 views

Extruding asset along Base Polygon in CityEngine having difficulties using function insertAlongUV

I have been experimenting with CityEngine to automate modeling of repetitive structures that follows a similar design. In this case, I'm trying to model a bridge that curves along with its length. ...
0
votes
0answers
43 views

QGIS Rule-Based styles fail to render

I'm working with some Ordnance Survey data, specifically the VectorMap Local (in GML format, October 2018) set and attempting to style the layers using the very handy OS provided stylesheets (here: OS ...
0
votes
0answers
16 views

Displacing points by rules without losing colours using QGIS?

In QGIS, I managing a layer by rules but some points are so close, and I used the function displacement points (By rules) but all the symbols that I used turned black on the map, they lost the colours ...
0
votes
0answers
65 views

How to use knowledge engineer in Erdas Imagine for rule based classification

I want to use rule based classification in knowledge engineer section of erdas imagine software. But I don't know how to create a *.ckb file. Can somebody point me to some reference material or ...
0
votes
0answers
42 views

Symbology or style to separate layers

I have a layer i.e. vegetation, i can split this layer in different colors using rules or categories i.e. light green = grass, darkgreen = trees. Then the colors appear 'nested the layer. When i make ...