opengeospatial / opengeospatial/CRS-JSON-Encoding

Definition of "one_and_only_one_of_datum_or_datum_ensemble"

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
0
Forks
2
Avg merge
1h 36m
Merged PRs (30d)
3

Description

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.

"one_and_only_one_of_datum_or_datum_ensemble": {
  "allOf": [
    {
        "not": {
            "type": "object",
            "required": [ "datum", "datum_ensemble" ]
        }
    },
    {
        "oneOf": [
            { "type": "object", "required": ["datum"] },
            { "type": "object", "required": ["datum_ensemble"] }
        ]
    }
  ]
},

"$comment": "[RL] Why is the structure different to that of one of ID or IDs?"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the one_and_only_one_of_datum_or_datum_ensemble JSON Schema fragment in the issue and compare it with the one for ID or IDs. Read the linked ProjJson v0-7 RL document for the source discussion. Done means the CRS SWG has decided whether the structures should match and the agreed definition is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
backend-api-design
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.