-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specs for stricter array length checks
- Loading branch information
Showing
8 changed files
with
476 additions
and
0 deletions.
There are no files selected for viewing
261 changes: 261 additions & 0 deletions
261
specs/data/extensions/gpm/covarUpperTriangleInvalidLengthB.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,261 @@ | ||
{ | ||
"asset": { | ||
"version": "1.1" | ||
}, | ||
"geometricError": 2, | ||
"root": { | ||
"refine": "REPLACE", | ||
"boundingVolume": { | ||
"box": [ | ||
0.5, | ||
0.5, | ||
0.5, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0.5, | ||
0, | ||
0, | ||
0, | ||
0.5 | ||
] | ||
}, | ||
"geometricError": 1 | ||
}, | ||
"extensionsUsed": [ | ||
"NGA_gpm" | ||
], | ||
"extensions": { | ||
"NGA_gpm": { | ||
"masterRecord": { | ||
"version": "1.2i", | ||
"implementation": "Example", | ||
"modelCoordSystem": { | ||
"mcsType": "UTM", | ||
"crsHorizontalUtm": { | ||
"id": 32601 | ||
}, | ||
"crsVertical": { | ||
"name": "Example Reference System", | ||
"orgWithId": { | ||
"organization": "EPSG", | ||
"systemId": "Example System ID" | ||
}, | ||
"epoch": 1 | ||
} | ||
}, | ||
"idInformation": { | ||
"datasetId": "exportid", | ||
"referenceDateTime": "2024-04-29T11:21:49" | ||
}, | ||
"datasetExtentInformation": { | ||
"origin": [ | ||
912996.5952063048, | ||
-5541794.593278977, | ||
3012483.770173006 | ||
], | ||
"lsrAxisUnitVectors": [ | ||
[ | ||
-0.0743933049314506, | ||
0.4697008438610212, | ||
0.8796855992100931 | ||
], | ||
[ | ||
0.9868514414437406, | ||
0.16160517449656872, | ||
-0.0028284441562802663 | ||
], | ||
[ | ||
-0.14303538712009903, | ||
0.8682099573522005, | ||
-0.47513403160149825 | ||
] | ||
], | ||
"lsrLengths": [ | ||
5984.896982990946, | ||
6337.485178905554, | ||
99.99999999975178 | ||
] | ||
}, | ||
"collectionRecordList": [ | ||
{ | ||
"collectionId": "collection id", | ||
"platformId": "platform id", | ||
"sensorRecords": [ | ||
{ | ||
"sensorId": "sensorid", | ||
"sensorType": "sensortype", | ||
"sensorMode": "sensormode", | ||
"collectionUnitRecords": [ | ||
{ | ||
"referenceDateTime": "2024-04-29T11:21:49", | ||
"collectionUnitId": "cuid", | ||
"pointSourceId": 0, | ||
"extentInformation": { | ||
"origin": [ | ||
912996.5952063048, | ||
-5541794.593278977, | ||
3012483.770173006 | ||
], | ||
"lsrAxisUnitVectors": [ | ||
[ | ||
-0.0743933049314506, | ||
0.4697008438610212, | ||
0.8796855992100931 | ||
], | ||
[ | ||
0.9868514414437406, | ||
0.16160517449656872, | ||
-0.0028284441562802663 | ||
], | ||
[ | ||
-0.14303538712009903, | ||
0.8682099573522005, | ||
-0.47513403160149825 | ||
] | ||
], | ||
"lsrLengths": [ | ||
5984.896982990946, | ||
6337.485178905554, | ||
99.99999999975178 | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"unmodeledErrorRecord": { | ||
"uniqueId": "unmodeled_error", | ||
"corrRotationThetas": [ | ||
0, | ||
0, | ||
0 | ||
], | ||
"corrParams": [ | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
}, | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
}, | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
} | ||
], | ||
"posts": [ | ||
{ | ||
"position": [ | ||
12.34, | ||
23.45, | ||
34.56 | ||
], | ||
"covariance": [ | ||
0.1833647900304413, | ||
-0.093582914309524, | ||
0.0572007221435672, | ||
-0.18392374133036396, | ||
0.27486040919852534, | ||
0.1, | ||
0.2 | ||
] | ||
} | ||
] | ||
}, | ||
"interpolationParams": { | ||
"interpolationMode": "IDW", | ||
"interpNumPosts": 6, | ||
"dampeningParam": 250 | ||
}, | ||
"interTileCorrelationGroups": [ | ||
{ | ||
"groupFlags": [ | ||
true, | ||
true, | ||
true | ||
], | ||
"rotationThetas": [ | ||
0, | ||
0, | ||
0 | ||
], | ||
"params": [ | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
}, | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
}, | ||
{ | ||
"A": 1, | ||
"alpha": 0.99, | ||
"beta": 0, | ||
"T": 10000 | ||
} | ||
] | ||
} | ||
], | ||
"ppeManifest": [ | ||
{ | ||
"source": "SIGZ" | ||
}, | ||
{ | ||
"source": "SIGR" | ||
} | ||
], | ||
"threeDimConformalParams": { | ||
"flags": [ | ||
true, | ||
false, | ||
true, | ||
false, | ||
true, | ||
false, | ||
true | ||
], | ||
"recentering": [ | ||
1.2, | ||
2.3, | ||
3.4 | ||
], | ||
"normalizingScaleFactor": 1.2, | ||
"parameters": [ | ||
0, | ||
1, | ||
2, | ||
3 | ||
], | ||
"covariance": [ | ||
0.1, | ||
0.2, | ||
0.3, | ||
0.4, | ||
0.5, | ||
0.6, | ||
0.7, | ||
0.8, | ||
0.9, | ||
1 | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
specs/data/gltfExtensions/gpmLocal/anchorPointsDirectInvalidLength.gltf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"asset" : { | ||
"version" : "2.0" | ||
}, | ||
"extensionsUsed" : [ | ||
"NGA_gpm_local" | ||
], | ||
"extensions" : { | ||
"NGA_gpm_local" : { | ||
"storageType" : "Direct", | ||
"anchorPointsDirect" : [], | ||
"covarianceDirectUpperTriangle" : [ | ||
0.1833647900304413, | ||
-0.093582914309524, | ||
0.4550734755685732, | ||
0.0572007221435672, | ||
-0.18392374133036396, | ||
0.27486040919852534 | ||
] | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
specs/data/gltfExtensions/gpmLocal/anchorPointsIndirectInvalidLength.gltf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"asset" : { | ||
"version" : "2.0" | ||
}, | ||
"extensionsUsed" : [ | ||
"NGA_gpm_local" | ||
], | ||
"extensions" : { | ||
"NGA_gpm_local" : { | ||
"storageType" : "Indirect", | ||
"anchorPointsIndirect" : [], | ||
"intraTileCorrelationGroups" : [ | ||
{ | ||
"groupFlags" : [ | ||
true, | ||
true, | ||
true | ||
], | ||
"rotationThetas" : [ | ||
0.1, | ||
0.2, | ||
0.3 | ||
], | ||
"params" : [ | ||
{ | ||
"A" : 1.0, | ||
"alpha" : 0.99, | ||
"beta" : 0.0, | ||
"T" : 10000.0 | ||
}, | ||
{ | ||
"A" : 1.0, | ||
"alpha" : 0.99, | ||
"beta" : 0.0, | ||
"T" : 10000.0 | ||
}, | ||
{ | ||
"A" : 1.0, | ||
"alpha" : 0.99, | ||
"beta" : 0.0, | ||
"T" : 10000.0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
specs/data/gltfExtensions/gpmLocal/covarianceDirectUpperTriangleElementInvalidType.gltf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"asset" : { | ||
"version" : "2.0" | ||
}, | ||
"extensionsUsed" : [ | ||
"NGA_gpm_local" | ||
], | ||
"extensions" : { | ||
"NGA_gpm_local" : { | ||
"storageType" : "Direct", | ||
"anchorPointsDirect" : [ | ||
{ | ||
"position" : [ | ||
12.34, | ||
23.45, | ||
34.56 | ||
], | ||
"adjustmentParams" : [ | ||
0.1, | ||
0.2, | ||
0.3 | ||
] | ||
} | ||
], | ||
"covarianceDirectUpperTriangle" : [ | ||
0.1833647900304413, | ||
"NOT_A_NUMBER", | ||
0.4550734755685732, | ||
0.0572007221435672, | ||
-0.18392374133036396, | ||
0.27486040919852534 | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.