Question

Stretch or extend a Polygone along a line

  • 30 October 2018
  • 3 replies
  • 13 views

Hi everyone,

I've got numerous of bridges as Polygones that are to short. I need to extend the bridges along a vector or line feature that I allready got.

If the Polygones would only consist of 4 edges I could solve the problem, but they do not.

Please help if you got any advice or idea!


3 replies

Badge +22

Maybe a CenterLineReplacer followed by an LineExtender would work?

Badge +22

Or, you want as an output a polygon, that is longer at both ends, according to a line that you already have.

 

 

If all the bridges are the same width, them simply buffering the line would work.

 

If they are not, then you want to find the width at the edge, buffer the exterior of the line, and then dissolve that into the original polygon.

Here's a proof of concept workspace.

 

 

bridgeextender.fmw
Badge +3

Move or offset a copy of the border where the line intersects. Line extension is your vector. ID border first.

Aggregate on this ID and then a BoundingboxReplacer (oriented mode)to create your extension.

Dissolve with bridge on bridge ID.

Reply