Skip to main content
Question

Copy measures from existing line to neighbouring lines.


keller
Contributor
Forum|alt.badge.img+7

The main goal of my question is to assign measures to neighbouring lines. MeasuresThe black line has measures which i would like to assign to the red lines.

I have tested for one line only and thus tried using the LineOnLineOverlayer and set a tolerence level of 10, the positive thing is the neighbouring whole line gets assigned measures, however some vertices remined snapped to the blackline(the one with measures),still trying to figure out why.

The idea is

1.) I assign measures to the red lines(A,B,C,D) from the black line,

2.) How do i vary the tolerance so that all the lines get captured.

Any ideas will come quite handy.

 

Thanks,

Keller.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 7, 2023

Hi @keller​,

The MeasureCalibrator transformer from FME Hub might be helpful for this. You will need to use a Chopper to chop the black line into vertex points to use with this transformer.


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 7, 2023

Hi @keller​,

The extra vertices from the MeasureCalibrator may be a pain, so I have simplified the logic a bit:

Screen Shot 2023-03-07 at 3.00.01 PMPlease try the attached workspace.


keller
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • March 21, 2023

Hello @daveatsafe​ many thanks for the answer , sorry for my late response as i was trying to get the logic behind the workspace, and was also trying it on may other lines. It worked well on straight lines but i have been busy trying to find a local solution for areas with an overpass/crossings for example, where there can be more than one option for the neighborhood finder. Sorry that i did not illustrate this in my initial diagram.

Otherwise, many thanks for the solution. It's a big step into what i was trying to achieve.

 

Regards,

Keller.


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