Question

Round M coordinate value (linear referencing)

  • 24 September 2018
  • 3 replies
  • 2 views

Badge

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

Userlevel 4

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.

Userlevel 4
Badge +13

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 ?

Badge

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