Hi
in your last code, you use both name_geo and NAME_GEO. Field name is case
sensitive.
Another approach can be to use concat function which better manages null values
than ||...
HTH,
Harrissou
Envoyé depuis mon HTC
----- Reply message -----
De : "Irakli Ugulava" <[email protected]>
Pour : <[email protected]>
Objet : [Qgis-user] Multy field labels
Date : ven., mai 15, 2015 16:01
For physical map need to label summits and elevation points, some of them have
name some no, so I need to label them from different fields.
when I use expression :
"NAME_GEO" || "elev"
It works, but summits with no names, (field "NAME_GEO" is empty), has no label
at all, according to ArcGis logic they should have only elevation on labels.
I try following expression
CASE WHEN "name_geo" is null THEN "NAME_GEO" || "ELEV" ELSE "elev"
but it return no labels at all.
Thanks All
--
Irakli UgulavaSenior GIS Expert, Cofounder
GeoLand Ltd.
3 Telegraph Cule-de-sac
Tbilisi 0105, Georgia,
Tel: +995 32 922553
Mob +995 99 172016
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user