That’s an interesting idea, but still too complicated. Such a query could be useful for routing related data, e.g. setting max_speed to 50 when roads are in villages/towns.