Skip to content

Spec Geometry Matrix

Deterministic synthetic case (seed 1001) with 8 Building/Bridge objects covering all seven geometry types, LoDs 0-3, and roof/ground/wall/closure semantics. No materials, textures, or attributes. Baseline for geometry dispatch and boundary handling.

Case

  • id: spec_geometry_matrix
  • layer: conformance
  • family: spec_atom
  • artifact_mode: generated
  • source_kind: synthetic
  • representation: cityjson
  • path: cases/conformance/synthetic/spec_geometry_matrix

Files

  • generated: artifacts/generated/spec_geometry_matrix.city.json
  • profile: cases/conformance/synthetic/spec_geometry_matrix/profile.json

Source JSON

case.json

{
  "artifact_mode": "generated",
  "artifact_paths": {
    "generated": "artifacts/generated/spec_geometry_matrix.city.json",
    "profile": "cases/conformance/synthetic/spec_geometry_matrix/profile.json"
  },
  "assertions": [
    "geometry_types_preserved",
    "boundary_normalization_stable"
  ],
  "cityjson_version": "2.0",
  "description": "Deterministic synthetic case (seed 1001) with 8 Building/Bridge objects covering all seven geometry types, LoDs 0-3, and roof/ground/wall/closure semantics. No materials, textures, or attributes. Baseline for geometry dispatch and boundary handling.",
  "family": "spec_atom",
  "geometry_kind": "dummy",
  "id": "spec_geometry_matrix",
  "layer": "conformance",
  "representation": "cityjson",
  "source_kind": "synthetic",
  "version": 2
}

invariants.json

{
  "checks": [
    {
      "description": "The full geometry type set remains present after parse and roundtrip.",
      "id": "geometry_types_preserved"
    },
    {
      "description": "Boundary normalization does not change the encoded topology.",
      "id": "boundary_normalization_stable"
    }
  ],
  "id": "spec_geometry_matrix",
  "kind": "positive",
  "version": 1
}

profile.json

{
  "cases": [
    {
      "allowed_lods": [
        "0",
        "1",
        "2",
        "3"
      ],
      "allowed_types_cityobject": [
        "Building",
        "Bridge"
      ],
      "allowed_types_geometry": [
        "MultiPoint",
        "MultiLineString",
        "MultiSurface",
        "Solid",
        "MultiSolid",
        "CompositeSurface",
        "CompositeSolid"
      ],
      "allowed_types_semantic": [
        "RoofSurface",
        "GroundSurface",
        "WallSurface",
        "ClosureSurface"
      ],
      "attributes_enabled": false,
      "description": "Deterministic geometry matrix fixture with 8 Building/Bridge objects, all core geometry types, LoDs 0-3, semantics enabled, and no materials, textures, or attributes.",
      "id": "spec_geometry_matrix",
      "materials_enabled": false,
      "max_cityobjects": 8,
      "max_coordinate": 250.0,
      "max_members_cityobject_geometries": 2,
      "max_members_compositesolid": 2,
      "max_members_compositesurface": 2,
      "max_members_multilinestring": 4,
      "max_members_multipoint": 8,
      "max_members_multisolid": 2,
      "max_members_multisurface": 4,
      "max_members_solid": 2,
      "max_vertices": 16,
      "min_cityobjects": 8,
      "min_coordinate": -250.0,
      "min_members_cityobject_geometries": 1,
      "min_members_compositesolid": 1,
      "min_members_compositesurface": 1,
      "min_members_multilinestring": 2,
      "min_members_multipoint": 4,
      "min_members_multisolid": 1,
      "min_members_multisurface": 1,
      "min_members_solid": 1,
      "min_vertices": 8,
      "seed": 1001,
      "semantics_enabled": true,
      "textures_enabled": false
    }
  ],
  "purpose": "Synthetic geometry matrix fixture for schema and roundtrip coverage.",
  "version": 1
}