Skip to main content

Hi,

Can anyone recommend a workflow to have measures generated across line multiparts with measure formed based on the order that the multiparts are stacked in the geometry. The measuregenerator is rejecting multipart line geometry items. I have valid multpart lines (roads with gaps) for which i need to run a measure across the gap (but not including the gap in the measure). If not possible using current FME transformers, could i please submit this as a feature request to enable multipart measuregenerator. With thanks.

Hi @rossdognz​ it looks like another FME user had this question a few years back, here is a link to their post. Hopefully the solution in that post will work for you here, best of luck.


If i've understood correctly

  • Deaggregate multipart geometry
  • Calculate length
  • StatisticsCalculator to sum length and output cumulative results (group by uniqueid of original line)
  • AttributeCreator to get the start figure based on the cumulative length of the previous feature
  • MeasureGenerator using that value as your Start Value
  • Aggregator to recreate multipart geometry

Hi @rossdognz​ it looks like another FME user had this question a few years back, here is a link to their post. Hopefully the solution in that post will work for you here, best of luck.

Thank very much, will give that a go


If i've understood correctly

  • Deaggregate multipart geometry
  • Calculate length
  • StatisticsCalculator to sum length and output cumulative results (group by uniqueid of original line)
  • AttributeCreator to get the start figure based on the cumulative length of the previous feature
  • MeasureGenerator using that value as your Start Value
  • Aggregator to recreate multipart geometry

Thats great, thanks very much


Reply