Skip to content

CityJSON objects with no geometry trigger error 906 #190

@jaspervdv

Description

@jaspervdv

When validating a CityJSON file that has a set of objects of which some have no geometry issues arise. I would anticipate the validator to pass over these objects. However the validator returns this as an invalid feature: "Error 906 PRIMITIVE_NO_GEOMETRY Feature has no geometry defined (or val3dity doesn't handle this type). | info=".

The error seems to imply that a primitive is present that has no geometry, but there is no primitive present in this cityjson object.

This is the structure of the object:

"Dachgeschoss": { "attributes": { "IFC Elevation": 2.7, "IFC Guid": [ "273g3wqLzDtfYIl7qqkgcO" ], "IFC Long Name": "ACID00000002-0000-0000-0000-000000000000", "IFC Name": "Dachgeschoss" }, "children": [ "7" ], "parents": [ "Inner Shell" ], "type": "BuildingStorey" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions