Skip to main content
Question

How generate measure for mutlipart line geometry


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.

4 replies

daraghatsafe
Forum|alt.badge.img

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.


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • July 21, 2022

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

  • Author
  • July 24, 2022
daraghatsafe wrote:

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


  • Author
  • July 24, 2022
ebygomm wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings