In this case they are steel pipe segments that are in between two plastic pipe segments. Does anyone have any ideas about which direction to go in with this? I've included an image for reference.
Hi @boniagbaniyaka, once transforming the line into a MultiPoint that consists of the start and end nodes of the original line, you can use the SpatialRelator to collect attributes of other lines which touch those points. You can then determine if the touching lines have the same attribute.
Hi @boniagbaniyaka, once transforming the line into a MultiPoint that consists of the start and end nodes of the original line, you can use the SpatialRelator to collect attributes of other lines which touch those points. You can then determine if the touching lines have the same attribute.
Hi @boniagbaniyaka, once transforming the line into a MultiPoint that consists of the start and end nodes of the original line, you can use the SpatialRelator to collect attributes of other lines which touch those points. You can then determine if the touching lines have the same attribute.
I've decided to turn the plastic pipe line segments into vertices, and now use SpatialRelator to find line segments that touch plastic pipe vertices. The only problem is I need to filter this output down to line segments that touch 2 vertices only. Logic: this would give me the line segments in between two plastic pipe segments. Any help on this would be wonderful.
Hi @boniagbaniyaka, once transforming the line into a MultiPoint that consists of the start and end nodes of the original line, you can use the SpatialRelator to collect attributes of other lines which touch those points. You can then determine if the touching lines have the same attribute.
In addition, if you save the original line geometry as an attribute with the GeometryExtracter beforehand, you can replace the MultiPoint with the original line later, if necessary.
@takashi I've actually transformed the plastic pipes into a multipoint layer consisting of start/end nodes, as you suggested, so that im now dealing with points and lines as opposed to one polyline layer. I have both layers prepped and I have managed to use SpatialRelator to find out which steel pipes touch plastic pipe vertices. The problem: I need to figure out which steel pipes touch 2 plastic pipe vertices. This goes beyond the options of the SpatialRelator transformer, and I cant find a transformer that will give me this narrowed down output. Thanks.
@takashi I've actually transformed the plastic pipes into a multipoint layer consisting of start/end nodes, as you suggested, so that im now dealing with points and lines as opposed to one polyline layer. I have both layers prepped and I have managed to use SpatialRelator to find out which steel pipes touch plastic pipe vertices. The problem: I need to figure out which steel pipes touch 2 plastic pipe vertices. This goes beyond the options of the SpatialRelator transformer, and I cant find a transformer that will give me this narrowed down output. Thanks.
The reason for transforming steel pipe into MultiPoint is that a pipe could touch at middle point of the steel pipe, as shown in the screenshot you have posted first. If actually there are no cases where a pipe touch at middle point of steel pipes, you don't need to transform them into MultiPoint features.
Anyway, I'm unclear why you send "plastic" pipes to the Requestor port.