[QGIS-it-user] Costrutture stringhe di espressioni_case when

Roberto Brazzelli geom.brazzelli a gmail.com
Ven 19 Mar 2021 10:07:39 PDT


Ciao,
nel costruttore stringhe di espressione vorrei inserire, *nella stessa
espressione*, due o pių condizioni come quelle sotto riportate.
Come unisco in una sola espressione queste due sotto riportate?
Qualche aiuto?
Grazie

case
when
amenity in ('restaurant','cafe','pub','bar','fast_food')
then
'{ "color": "OrangeRed" }'
end

case
when
tourism in
('hotel','apartment','camp_site','chalet','guest_house','alpine_hut')
then
'{ "color": "DeepSkyBlue" }'
end


Roberto
-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: <http://lists.osgeo.org/pipermail/qgis-it-user/attachments/20210319/0a1f7fe3/attachment.html>


Maggiori informazioni sulla lista QGIS-it-user