[Qgis-user] Applying a label to a point in a series of points - solved

Phil phillor9 at gmail.com
Sun Dec 21 12:12:14 PST 2025


On 12/21/25 21:40, Andrea Giudiceandrea wrote:

Thank you Andrea, I didn't know that statements such as "if" and 
"maximum" are available and can be used just like any programming language.
> if I've understood correctly your problem, I think you can use the 
> following expression in order to display a label (e.g. the aircraft 
> id) only for the first (i.e. having the minimum timestamp value) and 
> the last (i.e. having the maximum timestamp value) point for each 
> aircraft id:
>
> if("TIMESTAMP" = maximum("TIMESTAMP","AC_ID") OR "TIMESTAMP" = 
> minimum("TIMESTAMP","AC_ID"), "AC_ID",'')

Anyway, once I discovered the marker attributes first and last vortex 
the problem was solved.

-- 
Regards,
Phil



More information about the QGIS-User mailing list