Val3dity 2.0.2 error 303 and 306 issues
Closed this issue · 16 comments
Hello
Great Thanks for solving error 104 issue !!!!!
Online validator in this case works perfect, I hope that you will be able to compile version for Windows soon :-)
During analysing validation reports from new online val3ditity 2.0.2. I noticed new issues.
Now errors 303 and 306 appears for cornet models.
Of course models are correct in my opinion.
Please see attached zipped citygml file:
0620_M-34-46-D-a-3-3.zip
I hope that you could to take a look on this soon :-)
Thank you very much for any help.
hmmm, are you sure it's the correct file?
I get only errors 204 for this model, both on macOS and on Linux, see for yourself:
http://geovalidation.bk.tudelft.nl/val3dity/reports/overview/d8640efa-2ff0-450e-89b6-654dc4f06e65
I see.
Ignoring 204 is tricky: it could create another error, this is possibly what is happening here. I hesitated to add that option to be honest, exactly because of this.
But I'll check soon to be sure everything is okay here.
I looked quickly and isolated the 303 case (attached here), but it seems it's not noded properly and thus non-manifold, no? See:
https://www.dropbox.com/s/g6oxugmu9nu80na/2018-01-17%20at%2010.11.png?dl=0
If I may chime in, @KraMar76 which CGAL version are you using?
I've just tested your file and I get 203,204 with default settings, and 202,303 with --ignore204
I've just compiled val3dity from the master
and have cgal 4.7.4
This is on Linux.
CGAL v4.10+ is now required, with eigen package, see README.
nothing is attached
but 204 caused by vertices very close to each others: you might not be able to see the error.
I checked nodes coordinates in gml file and all are the same.
Even if the polygon is not planar - 204 error
but all coincident nodes in neighbouring polygons are the same shell should be manifold
okay, I tracked the error, and it is indeed an error. An extreme one due to precision: there are nearly collinear points (there is an unnecessary vertex where the arrow points) and because of the triangulation (I think) it reports a wrong 303 error...
https://www.dropbox.com/s/b8agji6toaydz0c/2018-01-23%20at%2010.06.png?dl=0
If you remove that vertex (which doesn't affect the shape of the building) then it's valid (as expected).
How to prevent such errors is not clear to me right now, I have to think about it. It's first time this happens to my knowledge.
Hi, thanks for the assist.
I understand your explanation but unfortunately I still haven't seen the error 303 here :-(
The vertex inside is maybe unnecessary but this is in both neighbour polygons. Nodes coordinates are identical so polygons vertexes should be identical too.
Have you have a chance to take a look on 306 error?
Haw do you see this ?
Regards
Not sure I follow you Marcin: you reported a dataset with errors 303 and 306.
I have found the error and fixed it, your dataset above now is 100% free of errors, including no 204 errors. I'll update the code, test it on different OSs, release 2.0.3, and describe the fix.
Again, thanks for spending time reporting these errors, I really appreciate.
I would like to apologize for my misunderstanding.
I thought that you had found an error in my data and tried to find this too 8-)
Thanks a lot for your help 👍
I will be waiting for new release.
v2.0.3 fixes this, released and web-app updated.
Windows will wait a bit, need to find an automatic build system (or switch myself to Windows; just joking not gonna happen)