forked from CesiumGS/3d-tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pnts.featureTable.schema.json
71 lines (71 loc) · 2.67 KB
/
pnts.featureTable.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"$schema" : "http://json-schema.org/draft-04/schema",
"id" : "pnts.featureTable.schema.json",
"title" : "Point Cloud Feature Table",
"type" : "object",
"description" : "A set of Point Cloud semantics that contains values defining the position and appearance properties for points in a tile.",
"allOf" : [{
"$ref" : "featureTable.schema.json"
}, {
"properties" : {
"POSITION" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"POSITION_QUANTIZED": {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"RGBA" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"RGB" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"RGB565" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL_OCT16P" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"BATCH_ID" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"POINTS_LENGTH" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyScalar"
},
"RTC_CENTER" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
},
"QUANTIZED_VOLUME_OFFSET" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
},
"QUANTIZED_VOLUME_SCALE" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
},
"CONSTANT_RGBA" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
},
"BATCH_LENGTH" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyScalar"
}
},
"anyOf" : [{
"required" : ["POSITION"]
}, {
"required" : ["POSITION_QUANTIZED"]
}],
"dependencies" : {
"POSITION_QUANTIZED" : [
"QUANTIZED_VOLUME_OFFSET",
"QUANTIZED_VOLUME_SCALE"
],
"BATCH_ID" : [
"BATCH_LENGTH"
]
},
"required" : ["POINTS_LENGTH"],
"additionalProperties": false
}]
}