[x3d-public] candidate geoSystem correction to JSON schema
Don Brutzman
brutzman at nps.edu
Sat May 20 17:56:04 PDT 2017
JSON Schema sayeth
"@geoSystem": {
"description": "Attempts to validate all possible combinations",
"oneOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": [
{
"type": "string",
"enum": [
"GD",
"GDC"
],
"default": "GD"
},
while in X3D abstract specification:
25.2.2 Spatial reference frames
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geodata.html#Spatialreferenceframes
Table 25.2 — Supported spatial reference frames
lists GD GC UTM and is followed by special cases GDC and GCC.
Suggest adding enumeration values for "GC", "GCC", "UTM"
However I do see other entries further down for "UTM" and default "GD" (though GD is not also listed there as an enum value).
Example scene for testing is Squaw.x3d with Squaw.json including
"@geoSystem":["UTM","Z10","N"],
Also Mars.x3d and Mars.json with recent updates at
http://www.web3d.org/x3d/content/examples/Basic/Geospatial/
Not quite sure how you are handling things there, hope you can sort it out OK. TIA.
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list