Hello,
I have two set of data (Points and lines).
They have a common attribute X
Some of points have a common attribute value (X) with lines
How do i can extract those lines ? I tried the feature merger but the translation fails
Thank you.
Hello,
I have two set of data (Points and lines).
They have a common attribute X
Some of points have a common attribute value (X) with lines
How do i can extract those lines ? I tried the feature merger but the translation fails
Thank you.
For the points/lines with common attributes, you can use the Aggregator (group by common attribute).
Another option would be the NeighborFinder (max distance = 0).
Or the PointOnLineOverlayer.
So many options to choose from.
If you know this attribute X --> a simple TestFilter on the lines will suffice?
But the FeatureMerger should also solve your problem! What are your settings in the transformer?
If you know this attribute X --> a simple TestFilter on the lines will suffice?
But the FeatureMerger should also solve your problem! What are your settings in the transformer?
How can I do it with just the tester ?
Here is my workspace file
Thank you
hydrographic-4quadrant-splitter.fmw
For the points/lines with common attributes, you can use the Aggregator (group by common attribute).
Another option would be the NeighborFinder (max distance = 0).
Or the PointOnLineOverlayer.
So many options to choose from.
The aggregator will not filter lines having same value of the attribute X as entering points.
For the NeighborFinder and the PointOnLineOverlayer I don't know how can I use them
The aggregator will not filter lines having same value of the attribute X as entering points.
For the NeighborFinder and the PointOnLineOverlayer I don't know how can I use them
Testing for _overlaps > 0 will get you all lines, that overlap with at least one point.
The attributes of the point will be added to the line.
How can I do it with just the tester ?
Here is my workspace file
Thank you
hydrographic-4quadrant-splitter.fmw
If you know that attribute X has value '1' for both points and lines, you can just send the lines through a TestFilter. All the lines with attribute X = '1' can be seperated for example.