Skip to main content

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?

Have you tried CoordinateRounder

http://www.safe.com/transformers/coordinate-rounder/


Can confirm that the CoordinateRounder just before the ili2fme writer will do the trick.

 

 


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

Thanks.


Reply