Skip to main content
Solved

How to access error details in the output port InvalidParts of GeometryValidator

  • February 4, 2022
  • 2 replies
  • 86 views

Forum|alt.badge.img

Hi!

 

I'm validating geometry of the CityGML files and I want to find out the errors and the smallest corresponding parts of the same feature for visualization purposes.

 

According to the GeometryValidator documentation, features from the InvalidParts output port should contain attributes explaining what issue the smallest part(s) correspond to. With the help of the ListExplorer transformer I can get the error name (i.e. issue_found), but not the details. So the question is, how can I access the details attributes from the InvalidParts output port?

 

That is very relevant because usually error name does not contain all needed information (e.g. what is the subtype of error).

 

Of course, I could get the error details easily from IssueLocations output port, but then I get only point features instead of surfaces or solids.

 

Is there any solution for this or am I understanding something wrong?

 

Thank you!

Best answer by david_r

Have you tried a second ListExploder to access the contents of the list supplementary_info{}?

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.

2 replies

david_r
Celebrity
  • 8392 replies
  • Best Answer
  • February 4, 2022

Have you tried a second ListExploder to access the contents of the list supplementary_info{}?


Forum|alt.badge.img
  • Author
  • 3 replies
  • February 7, 2022

This works perfectly. Thank you!