Skip to main content
Solved

isochrone with multipoint

  • January 30, 2022
  • 2 replies
  • 112 views

veyselakatay
Forum|alt.badge.img

Hello everyone

I am using the isochrone transformer in the fme hub for an analysis. I have a network to a single road and multiple source points. I'm trying to get each source point to be analyzed separately and to create polygons as a result of isochrone. All my attempts, including changing the transformer, were unsuccessful. Can you help me with this.

I want an output like the screenshot below.

a polygon for each source point1

Best answer by caracadrian

You can modify the Isochrone transformer to enable Group By.

IsochroneJust right click on it and click edit. Copy and paste the whole content of the transformer to your workspace. Make sure you create duplicates with common attributes of your data for each source point.

Delete Sampler and enable Group By in the yellow marked transformers (see image above).

Alternatively you can right click and select Embed, edit the custom transformer, delete Sampler, create a Group By Parameter and select it (the Parameter) in the necessary transformers.

Your data still has to contain a common attribute for points and road network. I suggest creating uuid's for points, 1 to 1 FeatureMerger with Points as Requestors and the network as Suppliers, enable Generate List then use a ListExploder to create duplicates of the network for each point. Use uuid in Group By as specified above.

PS I forgot to mark the second Clipper with yellow. You need to enable Group By there to.

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.

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • 571 replies
  • Best Answer
  • January 31, 2022

You can modify the Isochrone transformer to enable Group By.

IsochroneJust right click on it and click edit. Copy and paste the whole content of the transformer to your workspace. Make sure you create duplicates with common attributes of your data for each source point.

Delete Sampler and enable Group By in the yellow marked transformers (see image above).

Alternatively you can right click and select Embed, edit the custom transformer, delete Sampler, create a Group By Parameter and select it (the Parameter) in the necessary transformers.

Your data still has to contain a common attribute for points and road network. I suggest creating uuid's for points, 1 to 1 FeatureMerger with Points as Requestors and the network as Suppliers, enable Generate List then use a ListExploder to create duplicates of the network for each point. Use uuid in Group By as specified above.

PS I forgot to mark the second Clipper with yellow. You need to enable Group By there to.


veyselakatay
Forum|alt.badge.img
  • Author
  • 3 replies
  • February 1, 2022

Thank you for your help @caracadrian.