Solved

LineCombiner with attribute not working

  • 11 January 2023
  • 3 replies
  • 7 views

Badge +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

icon

Best answer by dustin 11 January 2023, 18:13

View original

3 replies

Userlevel 3
Badge +26

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

Badge +2

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

Badge +2

My next issue with the same data is here: https://community.safe.com/s/question/0D5Dm000005L0nFKAS/topologybuilder-creates-duplicate-nodes

Reply