Linked Questions

0
votes
1answer
873 views

Many ELSE statement in Expression in QGIS (2.6) [duplicate]

is it possible to have more than one ELSE in the CASE WHEN statement in the Expression builder in QGIS? For example: CASE WHEN "population" > 5000 THEN 'big' ELIF WHEN "population" > 1500 THEN ...
0
votes
1answer
84 views

simple field calculator question in QGIS [duplicate]

I'm quite new to QGIS and I guess my question is quite simple but yet I couldn't find out how to do this successfully I Have a 'roads' string column with text such as: primary secondary etc. and ...
1
vote
0answers
112 views

Field Calculator QGIS: CASE WHEN [duplicate]

at first, sorry for my English. I'm using Google translator. I have a .shp file with attribute table. Like this... -- A -- -- B -- -- C -- QString Double Double Data ...
1
vote
0answers
56 views

Editing Attribute Table in QGIS? [duplicate]

How can I type an expression that give me specific text based on another field value? I added an image of example data.
2
votes
0answers
46 views

QGIS Conditional statements in field calculator [duplicate]

I have attempted to write an expression for hours now by looking through these forums. I want to write if this column equals Blank, than this column equals blank. Ex) If defect_typ = A_FC ...
4
votes
4answers
1k views

QGIS classifying vector data

I am trying to classify a shapefile based on rule set, following this tutorial. This is the result: What I want to ask is: 1. How to insert the classification result (water, land etc) into the ...
4
votes
3answers
248 views

Prioritising polygons in QGIS

I just created a layer in which I hand drew a lot of polygons. Now I want to fill out the Attribute table through commands since it will save me a bunch of time. Therefore, I calculated the area of ...
0
votes
2answers
2k views

Using OS Mastermap SLDs in QGIS

In an answer to a question asked by @Canningmister, @tjmgis posted an excellent answer Styling OS Vectormap Local in QGIS? about making OS SLD files work in QGIS. As an amateur user who uses QGIS to ...
2
votes
1answer
864 views

how to use “data defined override” in qgis 2.0?

How can I use the new "data defined override"-funktion in qgis 2.0? I did not find any further information about it in the handbook an somewere else. I want to label my layer with different front ...
7
votes
1answer
504 views

Filling fields with conditional clauses

I have four fields in my shapefile. I would like to fill only one of them (cell of attribute table) and automatically after to write one cell the others one will be filled by conditional clause. I ...
0
votes
1answer
822 views

Replacing values in multiple columns using QGIS Field Calculator?

In QGIS I want to search for a specific case and if this is true then replace the text in multiple columns. Based on Use updatcursor to replace values in multiple fields, Update multiple fields/...
3
votes
1answer
172 views

Weighted values of field in QGIS

In QGIS in the Attribute Table, I have a field with values. For this field, I need to calculate the Sum of all its values and divide by the number of values that are not equal to "NULL". Afterwards, ...
3
votes
1answer
174 views

Making a line from points but preserving classification of points in QGIS?

I want to classify a gpx file by elevation in QGIS. This is what I have done: Imported track_points from gpx file (because only this part of file containes elevations) Saved that file as shp (just ...
1
vote
4answers
243 views

How can I calculate different polygons by different attributes?

I'm doing my master thesis and want to calculate different polygons (in QGIS 1.8 for Mac) in four different columns which I defined by different attributes. i.e. some of the attributes in the first ...
2
votes
1answer
128 views

How can I copy non-blank values to a new column from different columns in the same layer in QGIS?

My data: n1 n2 n3 NEW_COLUMN 11 null null null 33 null null null 55 My desired result: n1 n2 n3 NEW_COLUMN 11 null null 11 null 33 null 33 null null 55 55