Skip to main content
Solved

How to extract the vertexs intersection in polygons

  • August 12, 2015
  • 6 replies
  • 40 views

hoa_le
Contributor
Forum|alt.badge.img+5
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

 

:

Best answer by david_r

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • August 12, 2015
Hi,

 

 

 

 

Whether the vertices at highlighted location are not required?

david_r
Celebrity
  • Best Answer
  • August 12, 2015
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

hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 12, 2015
Hi Pratap,

 

 

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

 

 

hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 12, 2015
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

 

 


david_r
Celebrity
  • August 12, 2015
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

 

 

hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 12, 2015
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.