I have an attribute in my xml reader which contains WKT geometries. I would like to either split the writer according the whether the geometry is point, line, polyline,or polygon, or test whether the field contains these words and write "point", "line", "polyline",or "polygon" to another attribute in the writer.
Which transformers would do the best job?