Skip to main content
Question

create line from shared polygon borders


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.

2 replies

takashi
Influencer
  • 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.

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings