Skip to main content
Question

Validating dwg coordinate precision

  • July 14, 2017
  • 1 reply
  • 42 views

chriswilson
Enthusiast
Forum|alt.badge.img+22

Might be a long shot, particularly as I know there is an issue with binary storage of numbers but here goes - is there a way to check that a dwg file's coordinate system has at least 3 decimal places?

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.

1 reply

redgeographics
VIP
Forum|alt.badge.img+62

You could use a CoordinateExtractor to grab the coordinates of a feature, then AttributeSplitter to split it on the . and a StringLengthCalculator to calculate the length of the last part, then test on that.

I'm not sure whether that's what you're looking for and if it is, you're still stuck with the fact that those are the coordinates reported by FME, which may not be the same as the ones actually stored in the file what with the storage of CAD coordinates (DGN would be a prime candidate for "problems" in this regard)