adiwg / mdJson-schemas

JSON schemas, examples, and templates for ADIwg metadata standards
http://www.adiwg.org/projects/
GNU Lesser General Public License v3.0
18 stars 15 forks source link

verticalDatum new object #164

Closed stansmith907 closed 6 years ago

stansmith907 commented 7 years ago

Schema rules for verticalDatum: "the reference frame or system from which vertical distances (altitudes or depths) are measured."

Rules:

Definitions:

Rules:

mdJson:

{
   "spatialReferenceSystem": [
      {
         "referenceSystemType": "MD_ReferenceSystemTypeCode",
         "referenceSystemIdentifier": {},
         "referenceSystemParameterSet": {
            "projection": {},
            "ellipsoid": {},
            "verticalDatum": {
               "datumIdentifier": {},
               "datumName": "",
               "encodingMethod": "",
               "isDepthSystem": false,
               "verticalResolution": 9.9,
               "unitOfMeasure": ""
            }
         }
      }
   ]
}

FGDC mapping: Altitude and depth datum are assigned to different elements in FGDC, combined in mdJson with an isDepthSystem element to distinguish between the two (default = false).

<metadata>
  <spref>
    <horizsys></horizsys>
    <vertdef>
      <altsys>
        <altdatum></altdatum>
        <altres></altres>
        <altunits></altunits>
        <altenc></altenc>
      </altsys>
      <depthsys>
        <depthdn></depthdn>
        <depthres></depthres>
        <depthdu></depthdu>
        <depthem></depthem>
      </depthsys>
    </vertdef>
  </spref>
</metadata>

ISO 19115-2 mapping: These elements map to ISO 19115-2 only as MD_CRS.datum.identifier.

    <gmd:referenceSystemInfo>
        <gmd:MD_CRS>
            <gmd:datum>
                <gmd:RS_Identifier>
                    <gmd:code>
                        <gco:CharacterString></gco:CharacterString>
                    </gmd:code>
                </gmd:RS_Identifier>
            </gmd:datum>
        </gmd:MD_CRS>
    </gmd:referenceSystemInfo>

ISO 19115-3 mapping: Does not map to ISO 19115-1/3. This information was removed to ISO 19111 ( I do not have documentation at this time ).

jlblcc commented 6 years ago

Do we have access to ISO 19111 docs?

stansmith907 commented 6 years ago

Per our discussion datumName was dropped. This changed requirements to ...