You could try a "CASE" expression:
expression CASE
CASEWHEN conditionTHEN result[ …n ][ ELSE result]END
[ ] marks optional components
Arguments
WHEN condition- The condition expression to evaluate.
THEN result- If conditionevaluates to True then resultis evaluated and
returned.
ELSE
If it's really just nine records, just edit them. Or are you trying
to do this for a larger number of records that share ID2? Or doing
this repeatedly?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:
I have the following attribute table with two fields ID and ID2
[image: image.png]
What expression can I use within the field calculator so that, I can fill
the values for ID2 as below?
ID ID2
1 Yellow
2 Green
3 White
4 Blue
5 Orange
6 Brown
7 Light Blue
8 Light Yellow
9 Light Green
Hi Jean:
Load the raster into QGIS and left click on the name in the Layers
View. Click on properties item and then information tab . Scroll down
to the "Dimensions / Origin/Pixel size" Labels. The fisrt integer next
the pixel size will be the resolution in meters if you are using a
Great, thanks!
Le lun. 17 août 2020 à 12:12, Richard McDonnell
a écrit :
> Hi,
>
> To add to this, you can also create a single string, with symbols like
> hyphens to break up the text,
>
> For example
>
>
>
> 1. “Attribute1”||”Attribute2”||”Attribute3” would result in
>
On 8/17/20 11:04 AM, Sarah Way wrote:
> Hello,
>
> I am a relatively new user and thus still learning as I go...
>
> Can anyone please help me fix a Python plugin repository error?
> I was running QGIS 3.4.13 and trying to select the XYTools plugin when I
> received the QGIS Python Plugin
Hi,
To add to this, you can also create a single string, with symbols like hyphens
to break up the text,
For example
1. “Attribute1”||”Attribute2”||”Attribute3” would result in
Attribute1Attribute2Attribute3
2. “Attribute1”||’_’||”Attribute2”||’_’|| “Attribute3” would result in
If letmegooglethat is an appropriate answer in the mailing list, than we could
close this list. Really, letmegooglethat is the Internet way to say: „are you
stupid? Use google instead of asking!“. I agree, that an Internet search should
be the first way if anybody has a question. But there are
Hi Peter,
One further thing you could try, if not already done, is to create Spatial
Index’s.
You can do this within QGIS under the Layer Properties, by going to the Source
tab and selecting, Create Spatial Index.
See: