Skip to main content
Solved

CityGML writer limit maximum decimal places

  • September 6, 2018
  • 3 replies
  • 32 views

mhab
Contributor
Forum|alt.badge.img+10

Hello

INSPIRE GML writer has a parameter to set "Maximum Decimal Places: ...." CityGML writer doesn't seem to have this setting.

Is there a way to somehow limit the decimal places in the coordinates of CityGML output ?

This is a requirement in Germany and I don't see how I can achieve this in an easy way ...

Thanks

Michael

Best answer by redgeographics

The CoordinateRounder can do that.

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

redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • September 6, 2018

The CoordinateRounder can do that.


virtualcitymatt
Celebrity
Forum|alt.badge.img+47

The CoordinateRounder can do that.

NoT exactly, the requirement is that the length must be 3 regardless. so '13.12' must actually be '13.120'. I don't think FME does this in an easy way. I think a python shutdown script will be your friend here @mhab

 


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 6, 2018
NoT exactly, the requirement is that the length must be 3 regardless. so '13.12' must actually be '13.120'. I don't think FME does this in an easy way. I think a python shutdown script will be your friend here @mhab

 

In my case the requirement of AdV/ZSHH is not so strict.

 

quote: ... missing decimal places don't need to be filled with trailing zeros.