Skip to content

Instantly share code, notes, and snippets.

@hugoledoux
Last active March 11, 2016 08:57
Show Gist options
  • Save hugoledoux/11082609 to your computer and use it in GitHub Desktop.
Save hugoledoux/11082609 to your computer and use it in GitHub Desktop.
Example of a report from val3dity
<val3dity>
<inputFile>delft.gml</inputFile>
<primitives>gml:Solid</primitives>
<snap_tolerance>0.001</snap_tolerance>
<planarity_d2p>0.01</planarity_d2p>
<planarity_n>1</planarity_n>
<totalprimitives>111</totalprimitives>
<validprimitives>86</validprimitives>
<invalidprimitives>25</invalidprimitives>
<time>Fri Mar 11 09:31:01 2016 CET</time>
<Primitive>
<id>0</id>
<numbershells>1</numbershells>
<numberfaces>7</numberfaces>
<numbervertices>10</numbervertices>
</Primitive>
<Primitive>
<id>1</id>
<numbershells>1</numbershells>
<numberfaces>127</numberfaces>
<numbervertices>192</numbervertices>
<Error>
<code>102</code>
<type>CONSECUTIVE_POINTS_SAME</type>
<shell>0</shell>
<face>774f3cebd44a</face>
<info></info>
</Error>
</Primitive>
...
<Primitive>
<id>5</id>
<numbershells>1</numbershells>
<numberfaces>15</numberfaces>
<numbervertices>35</numbervertices>
<Error>
<code>203</code>
<type>NON_PLANAR_POLYGON_DISTANCE_PLANE</type>
<shell>0</shell>
<face>c6e90d82</face>
<info>distance to fitted plane: 0.0129827 (tolerance=0.01)</info>
</Error>
</Primitive>
...
<Primitive>
<id>68</id>
<numbershells>1</numbershells>
<numberfaces>9</numberfaces>
<numbervertices>21</numbervertices>
<Error>
<code>302</code>
<type>SHELL_NOT_CLOSED</type>
<shell>0</shell>
<face></face>
<info>Location hole: 8.59499 11.5695 13.7672</info>
</Error>
<Error>
<code>302</code>
<type>SHELL_NOT_CLOSED</type>
<shell>0</shell>
<face></face>
<info>Location hole: 10.405 8.5995 0</info>
</Error>
</Primitive>
...
</val3dity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment