Curves has many vertex.
Hi @louis_boekhoudt ,
The CoordinateExtractor is likely what you're looking for. It'll extract every vertex into a list which you can then either explode to get the vertices as individual features or access the coordinate values from the list.
In the screenshot above, I'm showing the original line with arcs along with the vertices (recreated using a VertexCreator after extracting the coords). In the screenshot below you see the list created by the CoordinateExtractor.
If you are only interested in the vertices on certain geometry types, the GeometryFilter can be used to separate features by geometry.
I'll just add that if the geometry is either an arc or an ellipse, you might want to insert an ArcStroker before the CoordinateExtractor. You can also use the ArcPropertyExtractor to get the parameters specific to the arc/ellipse, if necessary.
Great suggestion. It works. Just what I needed. Thanks.
Great suggestion. It works. Just what I needed. Thanks.
Does it allow to extract true vertex list or only stroked coordinates?
Does it allow to extract true vertex list or only stroked coordinates?
Hello @otoluk , Idid you want the true vertex list or stroked coordinates? I think if you want the stroked coordinates you can use the ArcStroker prior to extracting the coordinates, then use the CoordinateExtractor transformer. However, if you want the 'true vertex list' I would just extract coordinates or use ArcPropertyExtractor. Best, Kailin