Skip to main content
Question

create line from shared polygon borders

  • October 7, 2014
  • 2 replies
  • 75 views

Is there a recommended way of creating a line from the shared border of two polygons.

 

 

I can create a thin polygon representing the shared borders by:
  • remove spikes and slivers
  • buffering and clipping
Result polygons appear correct but, I need lines not polygons. What I really need is the distance of shared border between adjacent polygons.
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.

2 replies

takashi
Celebrity
  • October 7, 2014
Hi,

 

 

There may be several approaches. I would use the Intersector and the Tester after removing spikes and slivers.

 

-----

 

Intersector -> Tester (filter the line if "_overlapes" is greater than 1)

 

-----

 

 

Takashi

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • October 9, 2014
Intersector might be used.

 

I often find that this creates bad objects if used straight on the polygons..

 

 

U might consider:

 

 

SpatialRelator "touch" and test for related_canidates>0 to limit to touching polys. 

 

Then coerce the polys to (poly)lines.

 

Then LineOnLine overlayer (or Intersector).

 

test for overlaps.