Skip to main content
Question

Limit decimal places of feature coordinates

  • March 16, 2017
  • 3 replies
  • 124 views

vki
Contributor
Forum|alt.badge.img+8

I use the swiss ili2fme-writer to write to an xml-like output-format. In the outputfile, the coordinates have 9 or 10 decimal places, but just 3 are allowed in the further processing.

Is there a way to limit the decimal places of the coordinates in FME (the ili2fme-writer obviously just writes what it gets...)

I found this issue:

https://knowledge.safe.com/questions/38634/coordinateconcatenator-attribute-string-limit-deci.html but it's about coordinates as an attribute.

or this:

https://knowledge.safe.com/idea/19776/add-parameters-to-control-decimal-places-to-geomet.html > is this idea already realized?

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

pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • March 16, 2017

david_r
Celebrity
  • March 16, 2017
Can confirm that the CoordinateRounder just before the ili2fme writer will do the trick.

 

 


vki
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • March 20, 2017

oops, sorry, I should have seen this....

Thanks.