Skip to main content
Question

Identifying Lines

  • Jan 23, 2021 12:53 PM UTC
  • 4 replies
  • 47 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

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+73
  • Celebrity
  • Jan 24, 2021 7:28 PM UTC

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

@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
  • Jan 25, 2021 9:12 PM UTC

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