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.
If you have created geometries based on WKT, you can branch the data flow into Point, Line and Area with the GeometryFilter. And then, the Tester can be used to branch the Line features into line and polyline (@NumCoords() = 2 or not).
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.