Skip to main content
Question

Measure floating point issue

  • August 28, 2025
  • 1 reply
  • 31 views

jdh
Contributor
Forum|alt.badge.img+38

Hi,

 

I have a polygon that looks like it has some floating point issues in measures around 0.
 


What is the best way to fix those values without affecting the legitimate values.

I’m thinking extracting the measures as a list and then editing the list in python and resetting all the measures from the new list, but that seems a little convoluted.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • August 28, 2025

I’d lean towards the same approach. You could do it in native FME by exploding the extracted list of measures rounding, then reapplying them. Another approach could be breaking the line into each vertex then rebuild the line afterwards