Skip to main content
Solved

LineCombiner with attribute not working

  • January 11, 2023
  • 3 replies
  • 119 views

gvatin06
Contributor
Forum|alt.badge.img+2

I have troubles in using the LineCombiner, with 2 different datasources as input. The first is fme_line from Postgis (MultiLineString, but deaggregated) and the second is fme_line from Shapefile. Both have the same projection system, are in 2D, and have the same attribute schema: only "troncon_id" as string which should be used as merging attribute. I would like to join common line between the two datasources and produce a unique dataset.

 

Hower, the resulting data a correctly merged when coming from the same datasource, but not merged for lines with the same troncon_id and common point (Qgis snapping option). They do not overlap or intersect.

Here are the parameters used:

LineCombiner parametersAn example of not combined lines :

Lines not combined

Best answer by dustin

Try using a Snapper with a small tolerance prior to the LineCombiner.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • Best Answer
  • January 11, 2023

Try using a Snapper with a small tolerance prior to the LineCombiner.


gvatin06
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 8 replies
  • January 12, 2023

Thanks, ineed it works well! But now I have a problem with the TopologyBuilder located just after... I'll open another question for that.


gvatin06
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 8 replies
  • January 12, 2023