Skip to content

Commit

Permalink
Restraint the LoDs to be used to those of CityGML+CityJSON
Browse files Browse the repository at this point in the history
Fixes one point of #187
  • Loading branch information
hugoledoux committed Apr 8, 2024
1 parent c42e441 commit 29dfdc4
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions schemas/geomprimitives.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@
"type"
]
},
"Lods": {
"enum": [
"0", "1", "2", "3",
"0.0", "0.1", "0.2", "0.3",
"1.0", "1.1", "1.2", "1.3",
"2.0", "2.1", "2.2", "2.3",
"3.0", "3.1", "3.2", "3.3"
]
},
"Solid": {
"type": "object",
"properties": {
Expand All @@ -118,8 +127,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -257,8 +265,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -415,8 +422,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -573,8 +579,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -693,8 +698,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -813,8 +817,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down Expand Up @@ -871,8 +874,7 @@
]
},
"lod": {
"type": "string",
"pattern": "^(\\d\\.)(\\d)$|^(\\d)$"
"$ref": "#/Lods"
},
"boundaries": {
"type": "array",
Expand Down

0 comments on commit 29dfdc4

Please sign in to comment.