Hi,
Not sure why the ArcGis logic does not work. Any ways, try the
following for your query. (You inverted your is null... and where asking
QGIS to add 2 field in the label only when it is null and QGIS does not
seem to do that.)
Case When "name_geo" is null then "ELEV" *else* "name_geo" || "ELEV" *end*
not
CASE WHEN "name_geo" is null THEN "NAME_GEO" || "ELEV" * ELSE* "elev"
Cheers!
Nicolas
Le 2015-05-15 09:58, Irakli Ugulava [via OSGeo.org] a écrit :
> 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 Ugulava
> Senior 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
> [hidden email] </user/SendEmail.jtp?type=node&node=5205919&i=0>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://osgeo-org.1560.x6.nabble.com/Multy-field-labels-tp5205919.html
> To start a new topic under Quantum GIS - User, email
> [email protected]
> To unsubscribe from Quantum GIS - User, click here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==>.
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Multy-field-labels-tp5205919p5205930.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user