Skip to main content
Question

Identifying Lines

  • January 23, 2021
  • 4 replies
  • 9 views

Hi, I want to identify lines in my data, that have the same x and y coordinates and differ only in the z values. Can someone help me out? I'm new in FME.

 

Thanks in advance

Tom

4 replies

Forum|alt.badge.img+2
  • 194 replies
  • January 23, 2021

LineOnLineOverlay

SpatialRelator

Matcher

ChangeDetector

 

All of those have functions that will give you what you are wanting to do with varying outputs depending on what you plan on doing next.


hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1625 replies
  • January 24, 2021

LineOnLineOverlay

SpatialRelator

Matcher

ChangeDetector

 

All of those have functions that will give you what you are wanting to do with varying outputs depending on what you plan on doing next.

You may need to remove the z values for the comparison (2DForcer) then use a FeatureMerger to get the original geometry back onto the filtered data


Forum|alt.badge.img+2
  • 1891 replies
  • January 25, 2021

@tom.p​ I think @hkingsbury​ is on the right track. Use GeometryExtractor to preserve the original geometry. Then 2DForcer to drop you Z values. Then one of the options listed by @jlbaker2779​  - probably Matcher. Then recover your original geometry with the GeometryReplacer


  • Author
  • 1 reply
  • January 25, 2021

Hm let me thank you for the replys at first. It seem like the Z value does not disappear after the 2D Forcer. Z-Value 

This should be the reason why no matches are in the output of the matcher (although there should be some).no matchesMaybe my matcher parameters are incorrect too?:

 

parameters