filter out polygon style in the case of a linestring geometry