How to use label_areas?

As I understand this should return the areas of entities with a specific label? I get empty results. Right now I am using 2025.11.0b1 but it was the same on 2025.10.04.

Are you sure you’ve added the label to the areas?

1 Like

It returns the area IDs of all areas that have been assigned the given label.

label_areas(label_name_or_id) returns the list of area IDs tied to a given label ID or name.


Perhaps this is what you want. It lists all the areas containing entities labeled with other.

{{ label_entities('other')
  | map('area_name') | unique
  | reject('eq', none) | list | sort }}
1 Like

I didn’t have a specific use, I was just testing to make myself familiar with it. I misunderstood the example.