Skip to content

Releases: tudelft3d/val3dity

2.5.1

02 Oct 15:12
Compare
Choose a tag to compare

Changed

  • CGAL 6.0 can be used (small changes to the CMakeLists.txt) ❤️
  • fix a buggy report for complex geom types
  • improves the description of the validation report in the docs

2.5.0

18 Jul 05:30
Compare
Choose a tag to compare

[2.5.0] - 2024-07-17

Added

  • val3dity now accepts a stream of CityJSONSeq as input from stdin: cat myfile.jsonl | val3dity stdin and it validates each line and outputs the result to stdout
  • a new error was added: error 905--INVALID_JSON for handling wrong JSON lines in a CityJSONSeq stream

Changed

  • the validation report in JSON has been greatly simplified. Now the errors are a flat list of errors and the "id" gives the position of the error in the feature.
  • the library/API has a new way to accept parameters for the validation (named parameters), it's more flexible and simpler to use. If you used v2.4 with defaults then nothing needs to be changed, if you passed them then a small change is required.
  • the library/API now accepts arrays of points/faces (including with inner-rings) as input
  • the library/API does not cout or clog anything anymore, so you can manage your own log without val3dity polluting it
  • the val3dity binary doesn't output to clog anymore, instead the logger "spdlog" is used (when --verbose is activated) and a few logs are output
  • the CMake should now compile directly on macOS/Linux/Windows if GEOS is installed on your machine

2.4.0

27 Jun 12:54
Compare
Choose a tag to compare

Added

  • support for CityJSON Lines (CityJSONL) files, the 1st line of the file must be with the "transform", best is to use cjio output
  • support for 3D types of JSON-FG, only the Polyhedron and MultiPolyhedron (not for Prism and MultiPrism) (JSON-FG is still beta, so I guess this might have to change)
  • added a simple Python-based viewer to visualise the errors, see /tools/viz3dity/ for more details
  • API now supports OBJ and OFF; all formats supported by val3dity actually

Changed

  • the API is new and simpler, only 2 functions are now used: is_valid() + validate()
  • error 609 has been renamed 906 (no geometry is for more formats than only CityJSON)
  • simplified the code for CDT of each surface (faster too)
  • upgraded to latest version of pugixml, to parse XML files

2.3.1

15 Sep 14:41
Compare
Choose a tag to compare

Changed

  • the structure of the report was fixed (it is more flat, as it should have always been), it made little sense for Composite/Multi/Solid
  • geometry IDs in the report are 0-based (as they should, a bug made them start at 1, now fixed)
  • compilation under Windows to get a binary is now automised with GitHub Actions

2.3.0

29 Mar 14:19
Compare
Choose a tag to compare

Added

Changed

  • fixed a few bugs for the parsing of IndoorGML files
  • LoDs of Buildings are now taken into account when validating the topological relationships between BuildingParts: the tests are now per LoD now (so no "clash" between LoD1.3 and LoD2.2 if stored in the same file)

Removed

  • removed the support for CityGML files and 'vanilla' GML files. Only IndoorGML files can be read, and support for GML 3.3 is not fully there yet. Most errors/issues that are reported with val3dity have to do with a faulty parser of CityGML, and not with val3dity itself. I cannot justify spending 100s of hours fixing the parser, I tried hard but this not possible anymore. If someone wants to do it then great I am willing to help them, but I will not invest time on this anymore. Just upgrade your files to CityJSON (https://www.cityjson.org/tutorials/conversion/), I'll always maintain a full CityJSON parser!

2.2.0

14 May 06:31
Compare
Choose a tag to compare

Added

Changed

  • completely revamped the JSON error report, it's better and clearer
  • no more HTML output for the report (output of report is now with option --report, be careful), but you can just drag your JSON report to the HTML page (in folder /report_browser/index.html) or at http://geovalidation.bk.tudelft.nl/val3dity/browser/
  • improved the error codes a bit: new errors for IndoorGML (7xx) + for handy faulty inputs (error 904)
  • code must now be compiled against CGAL5, easier to install and compile for everyone
  • CityGML support is deprecated. This is the last version that will support CityGML, I will remove it completely from v2.3+. Most errors/issues reported have to do with a faulty parser of CityGML, and not with val3dity itself. I cannot justify spending 100s of hours fixing the parser, I tried hard but this not possible anymore. If someone wants to do it then great I am willing to help them, but I will not invest time on this anymore. Just upgrade your files to CityJSON (https://www.cityjson.org/help/users/conversion/), I'll always maintain a full CityJSON parser!

val3dity release version 2.1.1 Windows binaries

15 Jul 13:23
Compare
Choose a tag to compare

This is an automated val3dity release

small bug fixes

30 Apr 13:05
Compare
Choose a tag to compare

[2.1.1] - 2019-04-30

Changed

  • several small bug fixes: wrong handling of some GML namespaces is one of them
  • tol_snap can't be disabled anymore: just too error-prone and means nothing. Give a super small value instead, like 1e-12

2.1.0: new report to allow val3dity to support more data models

22 Feb 10:41
Compare
Choose a tag to compare

The core validation stayed exactly the same, no changes. Only these were modified:

  • the report is slightly changed: the CityObjects/Primitives subdivision in the report is replaced by Features having Primitives, where Features are the top-level objects, containing one or many Primitives. This is done to allow other data model to be used as input, eg IndoorGML is coming soon!
  • pytest allows to specify the binary to use if not under 'build/'

2.0.4

05 Feb 09:38
Compare
Choose a tag to compare
  • with Windows binaries, finally!
  • fixed bug where inner rings of gml:Polygon wasn't read properly when that polygon is referenced by an XLink.