Cluster example with groups

If we want a group cluster based on properties while having separate classes for each group of cluster, we use a combination of classes with their expressions and corresponding cluster with expressions.

To put the point that should belong to the different classes used in this example column “marked” (Classitem) and that in each class entered one expression (Expression) and type of expression (Expression type). In this case, use the type “String”.

The value-​​set are obtained from the characteristic column “marked” to relevant data sets.

Here we use a different color (Fill Color) as fill color, a different color on the outer edge (Outline color), size of the symbol (symbol size), one symbol (symbol) and a width of the outer edge (Width).

For clustering, it is indicated that the ellipse will be Criteria (Region) and that the distance between the real objects, points, from Criteria shall be maximum 50 px (Max distance). For grouping objects should belong to the individual groups of clusters are used one expression corresponding to classes. In this example used one expression that ” ‘[labeled]’ = ‘h'” in (Group) and selected a type phrase, “Expression” (Group type).

In addition, its entered any label for points, one label that will print the number of points that each cluster comprises. This is done by selecting one appearance on the label (Label style) and specify what is to be printed “[Cluster: Feature Count],” which is one expression of the number.

Example on klasse 1 og cluster 1:
cluster_group_01

Example on klasse 2 og cluster 2:
cluster_group_02

Example on legend
cluster_group_legend

Example on map
cluster_group_karteksempel

Filled surface with a transparent background

Here we use two styles, the first makes the filling (Symbol) and give it a fill color (Fill Color). Symbol size indicates how big the icons will be mes Gap describes the distance between the points. Here it is just trial and error to find what fits best.

The second style nature besrkiver the out on the flats with a Outline color and Width.

Skjermbilde 2014-12-22 kl. 10.06.14

Skjermbilde 2014-12-22 kl. 10.06.26

 

  Example on legend
Skjermbilde 2014-12-22 kl. 10.07.33

Example on map
Skjermbilde 2014-12-22 kl. 10.07.43

Symbolisation depending on scale and more attribute columns

Here the theme is divided into four classes (surface cover points, Airport, Less agglomeration, larger agglomerations), each of these categories has its own fill color (Fill color), symbol type (Symbol) and size of the symbol (symbol size).

The class “Arealdekkpunkter” is set to appear in scales up to 1: 150 0000 (Minscale). When the user zooms in beyond this takes the other classes over. It is that they appear from a scale of 1: 150 0000 (Maxscale). This means that the index level displays all points with the same symbolization, when the user is at a scale ranging from 1: 1 to 1: 150 0000 gets points distributed on separate classes and then own symbols / colors.

To set the pixels to belong to the different classes (Airport, less agglomeration and larger agglomerations), we use the type (Expression type) “Logical expression”. It allows us to put together more sophisticated expressions (Expression). Example:

  • Airport: ‘[objtype]’=’Airport’
  • Smaller agglomerations: ‘[tettbebygg]’=’Smaller agglomerations

  • Larger agglomerations: ‘[tettbebygg]’=’Larger agglomerations

Indicates both columns, comparison operators and values. Around columns used parenthesis “[]”. If the column is of type text, both kolonnnavn by square brackets and also the values ​​enclosed in single apostrophes.

In the above example used comparison operator =.

The following is one screen for each class.

maalestokk1

maalestokk2

maalestokk3

maalestokk4

Example on legend, up to 1:150.000

maalestokk5

Example on legend, from 1.1 – 1:150.000

maalestokk6

Example on map, up to 1:150.000

maalestokk7

Example on map, from 1:1 – 1:150.000

maalestokk8

Symbolisation based on multiple attribute columns

Here the theme is divided into five classes (Sea-level, small lake, larger lakes, Forestry and glaciers), each of these categories has its own fill color (Fill color), glaciers also has a phantom perimeter / outline (Outline Color, Width and Pattern ).

To set which surfaces that should belong to the different classes, is used in this example a combination of Classitem and putting both columns and values ​​in the expression (Expression). On Classitem its been selected column “objtype” and that the simple classes (Sea-level, Forest, glaciers) is set expressions (Expression) such as “Sea-level,” those that can be set by using only value of a column, and type expression (Expression type). In this case, use the type “String”.

The values ​​set are obtained from the characteristic column “objtype” to relevant data sets.

For the two classes for lakes (Small lake and Larger Lakes), we use the type (Expression type) “Logical expression”. It allows us to put together more sophisticated expressions (Expression). Example:

  • Small lakes: ‘[objtype]’=’Innsjø’ AND [shape_area] < 100000000
  • Larger lakes: ‘[objtype]’=’Innsjø’ AND [shape_area] > 100000000

Indicates both columns, comparison operators and values. Around columns used parenthesis “[]”. If the column is of type text, both kolonnnavn by square brackets and also the values ​​enclosed in single apostrophes.

In the example above used the comparative =, <and>.

The following is one screen for each class (two pieces for glaciers to show that this has two styles).
egenskapskolonner1

egenskapskolonner2

egenskapskolonner3

egenskapskolonner5

egenskapskolonner5

egenskapskolonner6

Example on legend
egenskapskolonner7

Example on map
egenskapskolonner8

Symbolisation based on an attribute column

Here the theme is divided into four classes (Sea-level, Lake, Forest and glacier), each of these categories has its own fill color (Fill color), Glaciers also has a phantom perimeter / outline (Outline Color, Width and Pattern).

To set which surfaces should belong to the different classes used in this example column “objtype” (Classitem) and that in each class entered one expression (Expression) and type of expression (Expression type). In this case, use the type “String”.

The values ​​set are obtained from the characteristic column “objtype” to relevant data sets.

The following is one screen for each class (two for glacier to show that this has two styles).

 

klass1

klass2

klass3

klass4

klass5

Example on legend
klass6

Example on map
klass7

Text / annotation from other attribute columns and prefix

Here we use a color (Fill color), size of the symbol (symbol size), one symbol (Symbol).

For text / inscriptions have chosen to specify a format (Text) that this “Name: [name] – [objectID].” The syntax in the example says that one has a fixed text “Name:” followed by information from the columns “Name” and “objectID”, separated by a hyphen. Columns must be left in square brackets. This allows for example the following result: “Name: Narvik – 50”.

In addition, selected skin on the text (Label style). It specifies, for example font, size and location.

paaskrift1

Example on legend
paaskrift2

Example on map
paaskrift3

Text/inscription of attribute column

Here we use a color (Fill color), size of the symbol (symbol size), one symbol (Symbol). For text / inscriptions selected a column / field from the data set, “name” in this example, that Contain values ​​displayed on the chart (Label item). In Addition, selected the one uteende the text (Label style). It specifier, for example font, size and location.
tekst1

Example on legend
tekst2

Example on map
tekst3

Filled flat with stipplete shading/hatching with angle and boundary/outline

Here we use two styles, the first makes the hachure (Symbol) and give it a fill color (Fill color) while setting the width hatching should be (Width) and the amount of space they will have apart (Symbol size). It is also chosen to set a fixed value that will give angle of hatching (Angle). In addition, selected the one pattern of hatching, by phantom line (Pattern), one pattern that will draw out 10 pixels with full line and then 5 pixels apart.

The second style nature is only used to specify a color and width of the perimeter (Outline color and Width).

flateavansert1

flateavansert2

Example on legend
flateavansert3

Exemple on map
flateavansert4

Filled flat shading/hatching with angle/angle and boundary/outline

Here we use two styles, the first makes the hachure (Symbol) and give it a fill color (Fill color) while setting the width the hatching should be (Width) and the amount of space they will have apart (Symbol size). It also elected a column containing characteristics (number, grades) will provide angle of hatching (Angle), varying angle of all the objects / surfaces.

In the example used a column called “objectID,” it has not real values ​​to set angle but serves as an example. It can alternatively be set a fixed angle.

The second style nature is only used to specify a color and width of the perimeter (Outline color and Width).

hatch1

hatch2

Example on legend
hatch3

Example on map
hatch4

Filled flat shading / hatching

Here we use a fill color (Fill color) on hatching (Symbol) and that it set the width (in pixels) hatching should be (Width) and the amount of space (in pixels) they should have from each other (Symbol size).
skravur1

Example on legend
skravur2

Example on map
skravur3