Skip to main content
Question

Round M coordinate value (linear referencing)

  • September 24, 2018
  • 3 replies
  • 21 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.

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.

3 replies

david_r
Celebrity
  • 8394 replies
  • 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
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • 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
  • 3 replies
  • September 25, 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 ?

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