I have two Feature classes, one are roads and the other one are fences. What I want to do is to intersect only the fences where they intersect with roads and not by themselves.
What would do the job is an Intersector with a parameter 'Attribute(s) that must Differ' like the parameter of the Spatial Realator, but this parameter does not exist on Intersector - so is there any work around to that?
Any help is much appreciated
Best answer by takashi
Hi @ischu, this may be a possible way. Assuming that every road feature has an attribute storing a value which can be used to determine if the feature is a road.
Send all the roads and fences to a LineOnLineOverlayer (or Intersector), and specify a list name to the "List Name" parameter of the transformer.
From the resulting points, select only points having an element of the list, which indicates that its value is propagated from a road. The ListSearcher can be used to filter the points.
Add a PointOnLineOverlayer to the workspace. Send the selected points to the Point port, and send the original fence lines to the Line port. The resulting lines will be the fences which have been split by intersections between roads.
Hi @ischu, this may be a possible way. Assuming that every road feature has an attribute storing a value which can be used to determine if the feature is a road.
Send all the roads and fences to a LineOnLineOverlayer (or Intersector), and specify a list name to the "List Name" parameter of the transformer.
From the resulting points, select only points having an element of the list, which indicates that its value is propagated from a road. The ListSearcher can be used to filter the points.
Add a PointOnLineOverlayer to the workspace. Send the selected points to the Point port, and send the original fence lines to the Line port. The resulting lines will be the fences which have been split by intersections between roads.
Hi @ischu, this may be a possible way. Assuming that every road feature has an attribute storing a value which can be used to determine if the feature is a road.
Send all the roads and fences to a LineOnLineOverlayer (or Intersector), and specify a list name to the "List Name" parameter of the transformer.
From the resulting points, select only points having an element of the list, which indicates that its value is propagated from a road. The ListSearcher can be used to filter the points.
Add a PointOnLineOverlayer to the workspace. Send the selected points to the Point port, and send the original fence lines to the Line port. The resulting lines will be the fences which have been split by intersections between roads.
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.