Skip to content

Geometry Instance

Two GeometryInstances with the same template, but different transformation matrices.

Case

  • id: geometry_instance
  • layer: conformance
  • family: spec_atom
  • artifact_mode: checked-in
  • source_kind: synthetic
  • representation: cityjson
  • path: cases/conformance/v2_0/geometry_instance

Files

  • source: cases/conformance/v2_0/geometry_instance/geometry_instance.city.json

Source JSON

case.json

{
  "artifact_mode": "checked-in",
  "artifact_paths": {
    "source": "cases/conformance/v2_0/geometry_instance/geometry_instance.city.json"
  },
  "assertions": [
    "geometry_instance_preserved",
    "geometry_instance_resolved"
  ],
  "cityjson_version": "2.0",
  "description": "Two GeometryInstances with the same template, but different transformation matrices.",
  "family": "spec_atom",
  "geometry_kind": "dummy",
  "id": "geometry_instance",
  "layer": "conformance",
  "representation": "cityjson",
  "source_kind": "synthetic",
  "version": 2
}

invariants.json

{
  "checks": [
    {
      "description": "Geometry stays stable across roundtrip.",
      "id": "geometry_instance_preserved"
    },
    {
      "description": "GeometryInstance can resolve its geometry template, reference point and transformation matrix.",
      "id": "geometry_instance_resolved"
    }
  ],
  "id": "geometry_instance",
  "kind": "positive",
  "version": 1
}