I have two layers defined in a mapfile, for displaying either polygons or points dependent on a query parameter of the accessing WMS Request.
Is it possible to combine them in a UNION layer or something similar?
In a way that the WMS Request request only one Layer, not both?