opengeospatial / CRS-JSON-Encoding

0 stars 2 forks source link

Definition of "coordinate system" #11

Open KRyden opened 2 months ago

KRyden commented 2 months ago

NOTE: Markdown does not support highlighting in color, so bold/italic has been used to highlight the material being discussed. This issue is extracted from the document submitted by Roger Lott at https://github.com/opengeospatial/CRS-JSON-Encoding/blob/main/ProjJson%20v0-7%20RL%202024-06-16.docx for discussion at the CRS SWG meeting OGC held during the Montreal June 2024 TC meeting.

"coordinate_system": {
  "type": "object",
  "properties": {
    "$schema" : { "type": "string" },
    "type": { "type": "string", "enum": ["CoordinateSystem"] },
    "name": { "type": "string" },
    "subtype": { "type": "string",
                 "enum": ["Cartesian",
                          "spherical",
                          "ellipsoidal",
                          "vertical",
                          "ordinal",
                          "parametric",
                          "affine",

"polar", "linear", "cylindrical",

                          "TemporalDateTime",
                          "TemporalCount",
                          "TemporalMeasure"]  },
    "axis": {
        "type": "array",
        "items": { "$ref": "#/definitions/axis" }
    },
    "id": { "$ref": "#/definitions/id" },
    "ids": { "$ref": "#/definitions/ids" }
  },
  "required" : [ "subtype", "axis" ],
  "allOf": [
    { "$ref": "#/definitions/id_ids_mutually_exclusive" }
  ],
  "additionalProperties": false
},

"$comment": "[RL] 3x CS subtypes missing." "$comment": "[RL] For CS subtypes, 19111/Topic 2 has constraints on (i) dimension [number of axes] permitted (for each subtype), (ii) data type for axis unit (for several subtypes). The above enumeration and schema for 'axis' does not include these constraints." "$comment": "[RL] 19111/Topic 2 (and WKT2) has constraints on the type of CS that may be associated with each subtype of CRS. Not clear that the above enumeration allows for these constraints: should each CS subtype be defined?"

desruisseaux commented 1 month ago

Actually, #63 (just created) duplicates this issue.