Skip to main content
Hi everybody,

 

 

I have a polygon file that have many polygon. I want to get the vertex intersections between the neighborhood polygons.

 

And then, the vertex will be convert to point file. 

 

Could you please give me the solution to do that? Thank you

 

 

It looks like the picture

 

:
Hi,

 

 

 

 

Whether the vertices at highlighted location are not required?
Hi

 

 

Try a GeometryCoercer to convert the polygons to lines, then send them through the TopologyBuilder. The output nodes should be the points you're looking for.

 

 

David
Hi Pratap,

 

 

At highlighted location don't need. Because I want to get the nodes that intersected with edges.

 

 
Hi David,

 

 

The TopologyBuider is good tool. And I have another question.

 

When I have the nodes, and I want to put them to the polygons based on the fields X1,Y1,X2,Y2....

 

 

It looks like the picture. I will get the coordinate of the nodes to put the polygons.

 

 

Could you please give me the solution to make that? Thank you

 

 


Hi

 

 

Try using a SpatialRelator. Send the polygons to the Requestor. Send the nodes through a CoordinateExtractor to get the X,Y values and send them to the Supplier.You might need to see which spatial test works the best, but I guess INTERSECTS should work.

 

 

You can then use the resulting list "_related_candidates{}" to get all the points (with their X,Y values) that touches each polygon.

 

 

David

 

 
Hi David,

 

 

Thank you for your support. I tried to use SpatialRelator, I used INTERSECTS but that's only to make a double X,Y. Actually, I want to put all coordinates of each vertex to polygons file.

 

 

So I think I need other solution. 

Reply