Skip to main content
Solved

How to create Point geometry from measure value of a road?

  • January 17, 2024
  • 5 replies
  • 99 views

oscard
Influencer
Forum|alt.badge.img+22

I have two datasets:

  • A calibrated road dataset. Every vertex of the line has the measure value (kilometer point).
  • A table with car accidents with a field that indicates the kilometer point where it happpened

I need to create Point geometries for the accident using both datasets. In other words, I need to create a point event layer.

As you can imagine, the accidents don't happen at an exact vertex of the road.

Can FME create that point event layer?

I've tried using the Snipper transformer, but I'm not getting the results I want.

Best answer by nielsgerrits

Yes, that is the one I'm trying to use. But I'm not sure how. The Mode "Measure (Value)" asks for a Starting Point and an Ending Point. I'm not sure what I need to set there. I only have the measure attribute from the point.

I do it like this. Not sure if this is the official way, but it works.

MeasureSnipper(2021)

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.

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

I use the Snipper transformer to do this. You need to merge the calibrated set with the car accidents and feed that result into the Snipper.


oscard
Influencer
Forum|alt.badge.img+22
  • Author
  • Influencer
  • January 17, 2024

I use the Snipper transformer to do this. You need to merge the calibrated set with the car accidents and feed that result into the Snipper.

Yes, that is the one I'm trying to use. But I'm not sure how. The Mode "Measure (Value)" asks for a Starting Point and an Ending Point. I'm not sure what I need to set there. I only have the measure attribute from the point.


nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • January 17, 2024

Yes, that is the one I'm trying to use. But I'm not sure how. The Mode "Measure (Value)" asks for a Starting Point and an Ending Point. I'm not sure what I need to set there. I only have the measure attribute from the point.

I do it like this. Not sure if this is the official way, but it works.

MeasureSnipper(2021)


oscard
Influencer
Forum|alt.badge.img+22
  • Author
  • Influencer
  • January 17, 2024

Yes, that is the one I'm trying to use. But I'm not sure how. The Mode "Measure (Value)" asks for a Starting Point and an Ending Point. I'm not sure what I need to set there. I only have the measure attribute from the point.

Thanks. I had an epiphany and figured it out a moment ago.

 

The fact that Snipper is asking me for two attributes (Starting and Ending) was confusing me greatly. I am used to the ESRI Tools, where just one attribute is needed (the measure itself).

 

In the Snipper I just had to use the attribute with the measure in both of them to generate a Point.

It was rather logical, actually. I guess I am a bit thick today.

 

Thanks for the help!


nielsgerrits
VIP
Forum|alt.badge.img+62

Yes, that is the one I'm trying to use. But I'm not sure how. The Mode "Measure (Value)" asks for a Starting Point and an Ending Point. I'm not sure what I need to set there. I only have the measure attribute from the point.

Cheers :). Took me some help to understand measures myself, nothing wrong with asking.