Skip to main content
Question

How do I transfer measure values from points to lines?


matthewb
Contributor
Forum|alt.badge.img+9

I have polyline data representing roads and point data representing mile markers. The points are on the line, so PointOnLineOverlayer does segment the line as expected. The point data has a Measure value that I want to use on the line, how do I set the measure value of the points to the lines?

4 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • November 3, 2023

Hi @Matthew Boyter​,

The FME Hub transformer MeasureCalibrator will transfer the point vertices and measures to the line for you.


matthewb
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • November 6, 2023
daveatsafe wrote:

Hi @Matthew Boyter​,

The FME Hub transformer MeasureCalibrator will transfer the point vertices and measures to the line for you.

Hi Dave,

 

Thanks for the reply. I was testing the MeasureCalibrator before asking the question and was getting lines through that weren't being assigned measures, even though they have points with measures on them. The red polyline is the RejectedLines output on the Measure Calibrator and the blue dot is the MeasureChecker=True output. Approximately 15% of the polylines with point features with measures are being rejected from the MeasureCalibrator. FME_MeasureCalibrator


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • November 6, 2023
matthewb wrote:

Hi Dave,

 

Thanks for the reply. I was testing the MeasureCalibrator before asking the question and was getting lines through that weren't being assigned measures, even though they have points with measures on them. The red polyline is the RejectedLines output on the Measure Calibrator and the blue dot is the MeasureChecker=True output. Approximately 15% of the polylines with point features with measures are being rejected from the MeasureCalibrator. FME_MeasureCalibrator

Hi @Matthew Boyter​,

Are you able to share the problem lines and points? You can scrub all the attribute information - I just need the geometry to run through the MeasureCalibrator to see why the measures aren't transferring.


matthewb
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • November 7, 2023
matthewb wrote:

Hi Dave,

 

Thanks for the reply. I was testing the MeasureCalibrator before asking the question and was getting lines through that weren't being assigned measures, even though they have points with measures on them. The red polyline is the RejectedLines output on the Measure Calibrator and the blue dot is the MeasureChecker=True output. Approximately 15% of the polylines with point features with measures are being rejected from the MeasureCalibrator. FME_MeasureCalibrator

Unfortunately not. I was able to able to resolve the issue by increasing the distance in the MeasureCalibrator to well over the needed distance though.


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