Solved

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

  • 4 February 2022
  • 2 replies
  • 6 views

Badge

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!

icon

Best answer by david_r 4 February 2022, 15:32

View original

2 replies

Userlevel 4

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

Badge

This works perfectly. Thank you!

Reply