Skip to main content

FME 2020: How to get lines extended to centers of circles?

 

In the screenshots below, this is how surveyors draw parcels. What I wanted here is to extend the lines that touch the circles to their centers so that all lines get connected at these centers

 

How this might be performed in FME? Which tool can help on this?

Sample data is attached

 

Clip_220 

Clip_221 

I would consider something along the lines of a centerPointReplacer on the circles and feed them into the anchor port of an AnchoredSnapper.


What @jdh​ said. I attached workspace.


@jdh​ has the right idea. Using a center point replace and anchored snap seems to work without distorting the lines.

 

See example below;

 

 

lineswblines1 

lines2


But does the “LineExtender” has the same function as the “AnchoredSnapper”

 

I wanted here to derive parcels from CAD drawings. The parcel boundaries are not connected but touched to circles (as shown in the screenshot below)

 

The following approach is followed:

-       All lines inside circles are erased (to clean them)

-       Lines are extended by 0.75

-       Lines are converted to polygons

-       Texts are transferred to polygons

 

The data is attached

 

Clip_254 

Clip_252 

 


The workbench is attached

(not sure why i couldn't attach two files in the same post)

 

Clip_255


Reply