Skip to main content
Question

Round M coordinate value (linear referencing)

  • September 24, 2018
  • 3 replies
  • 11 views

Forum|alt.badge.img

I work with geometries (routes) whose vertices have 4 dimensions: XYZ and M (measures). How can I round M coordinate values stored in the data to a specified number of decimal places? The coordinate rounder only covers XYZ dimensions.

3 replies

david_r
Evangelist
  • September 24, 2018

I think you'll need to extract the measures into a list, round the values in the list (preferrably using Python, to avoid exploding the list), then assign them to the line again.


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 24, 2018

Hi @hedigerm It sounds like the CoordinateRounder should be able to handle measures too. Can you post this idea at https://knowledge.safe.com/content/idea/list.html ?


Forum|alt.badge.img
  • Author
  • September 25, 2018
fmelizard wrote:

Hi @hedigerm It sounds like the CoordinateRounder should be able to handle measures too. Can you post this idea at https://knowledge.safe.com/content/idea/list.html ?

https://knowledge.safe.com/idea/79203/enable-coordinaterounder-transformer-to-round-meas.html?

 

 


Reply


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