1<?xml version="1.0"?>
2<gmi:MI_Metadata xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:bag="http://www.opennavsurf.org/schema/bag">
3  <gmd:language>
4    <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">eng</gmd:LanguageCode>
5  </gmd:language>
6  <gmd:contact>
7    <gmd:CI_ResponsibleParty>
8      <gmd:individualName>
9        <gco:CharacterString>${INDIVIDUAL_NAME:unknown}</gco:CharacterString>
10      </gmd:individualName>
11      <gmd:organisationName>
12        <gco:CharacterString>${ORGANISATION_NAME:unknown}</gco:CharacterString>
13      </gmd:organisationName>
14      <gmd:positionName>
15        <gco:CharacterString>${POSITION_NAME:unknown}</gco:CharacterString>
16      </gmd:positionName>
17      <gmd:role>
18        <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="${CONTACT_ROLE:author}">${CONTACT_ROLE:author}</gmd:CI_RoleCode>
19      </gmd:role>
20    </gmd:CI_ResponsibleParty>
21  </gmd:contact>
22  <gmd:dateStamp>
23    <gco:Date>${DATE}</gco:Date>
24  </gmd:dateStamp>
25  <gmd:metadataStandardName>
26    <gco:CharacterString>${METADATA_STANDARD_NAME:ISO 19139}</gco:CharacterString>
27  </gmd:metadataStandardName>
28  <gmd:metadataStandardVersion>
29    <gco:CharacterString>${METADATA_STANDARD_VERSION:1.1.0}</gco:CharacterString>
30  </gmd:metadataStandardVersion>
31  <gmd:spatialRepresentationInfo>
32    <gmd:MD_Georectified>
33      <gmd:numberOfDimensions>
34        <gco:Integer>2</gco:Integer>
35      </gmd:numberOfDimensions>
36      <gmd:axisDimensionProperties>
37        <gmd:MD_Dimension>
38          <gmd:dimensionName>
39            <gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="row">row</gmd:MD_DimensionNameTypeCode>
40          </gmd:dimensionName>
41          <gmd:dimensionSize>
42            <gco:Integer>${HEIGHT}</gco:Integer>
43          </gmd:dimensionSize>
44          <gmd:resolution>
45            <gco:Measure uom="${RES_UNIT}">${RESY}</gco:Measure>
46          </gmd:resolution>
47        </gmd:MD_Dimension>
48      </gmd:axisDimensionProperties>
49      <gmd:axisDimensionProperties>
50        <gmd:MD_Dimension>
51          <gmd:dimensionName>
52            <gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="column">column</gmd:MD_DimensionNameTypeCode>
53          </gmd:dimensionName>
54          <gmd:dimensionSize>
55            <gco:Integer>${WIDTH}</gco:Integer>
56          </gmd:dimensionSize>
57          <gmd:resolution>
58            <gco:Measure uom="${RES_UNIT}">${RESX}</gco:Measure>
59          </gmd:resolution>
60        </gmd:MD_Dimension>
61      </gmd:axisDimensionProperties>
62      <gmd:cellGeometry>
63        <gmd:MD_CellGeometryCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode" codeListValue="point">point</gmd:MD_CellGeometryCode>
64      </gmd:cellGeometry>
65      <gmd:transformationParameterAvailability>
66        <gco:Boolean>1</gco:Boolean>
67      </gmd:transformationParameterAvailability>
68      <gmd:checkPointAvailability>
69        <gco:Boolean>0</gco:Boolean>
70      </gmd:checkPointAvailability>
71      <gmd:cornerPoints>
72        <gml:Point gml:id="id1">
73          <gml:coordinates decimal="." cs="," ts=" ">${CORNER_POINTS}</gml:coordinates>
74        </gml:Point>
75      </gmd:cornerPoints>
76      <gmd:pointInPixel>
77        <gmd:MD_PixelOrientationCode>center</gmd:MD_PixelOrientationCode>
78      </gmd:pointInPixel>
79    </gmd:MD_Georectified>
80  </gmd:spatialRepresentationInfo>
81  <gmd:referenceSystemInfo>
82    <gmd:MD_ReferenceSystem>
83      <gmd:referenceSystemIdentifier>
84        <gmd:RS_Identifier>
85          <gmd:code>
86            <gco:CharacterString>${HORIZ_WKT}</gco:CharacterString>
87          </gmd:code>
88          <gmd:codeSpace>
89            <gco:CharacterString>WKT</gco:CharacterString>
90          </gmd:codeSpace>
91        </gmd:RS_Identifier>
92      </gmd:referenceSystemIdentifier>
93    </gmd:MD_ReferenceSystem>
94  </gmd:referenceSystemInfo>
95  <gmd:referenceSystemInfo>
96    <gmd:MD_ReferenceSystem>
97      <gmd:referenceSystemIdentifier>
98        <gmd:RS_Identifier>
99          <gmd:code>
100            <gco:CharacterString>${VERT_WKT:VERT_CS["unknown", VERT_DATUM["unknown", 2000]]}</gco:CharacterString>
101          </gmd:code>
102          <gmd:codeSpace>
103            <gco:CharacterString>WKT</gco:CharacterString>
104          </gmd:codeSpace>
105        </gmd:RS_Identifier>
106      </gmd:referenceSystemIdentifier>
107    </gmd:MD_ReferenceSystem>
108  </gmd:referenceSystemInfo>
109  <gmd:identificationInfo>
110    <bag:BAG_DataIdentification>
111      <gmd:citation>${XML_IDENTIFICATION_CITATION:}</gmd:citation>
112      <gmd:abstract>
113        <gco:CharacterString>${ABSTRACT:}</gco:CharacterString>
114      </gmd:abstract>
115      <gmd:spatialRepresentationType>
116        <gmd:MD_SpatialRepresentationTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid">grid</gmd:MD_SpatialRepresentationTypeCode>
117      </gmd:spatialRepresentationType>
118      <gmd:spatialResolution>
119        <gmd:MD_Resolution>
120          <gmd:distance>
121            <gco:Distance uom="${RES_UNIT}">${RES}</gco:Distance>
122          </gmd:distance>
123        </gmd:MD_Resolution>
124      </gmd:spatialResolution>
125      <gmd:language>
126        <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">eng</gmd:LanguageCode>
127      </gmd:language>
128      <gmd:topicCategory>
129        <gmd:MD_TopicCategoryCode>elevation</gmd:MD_TopicCategoryCode>
130      </gmd:topicCategory>
131      <gmd:extent>
132        <gmd:EX_Extent>
133          <gmd:geographicElement>
134            <gmd:EX_GeographicBoundingBox>
135              <gmd:westBoundLongitude>
136                <gco:Decimal>${WEST_LONGITUDE}</gco:Decimal>
137              </gmd:westBoundLongitude>
138              <gmd:eastBoundLongitude>
139                <gco:Decimal>${EAST_LONGITUDE}</gco:Decimal>
140              </gmd:eastBoundLongitude>
141              <gmd:southBoundLatitude>
142                <gco:Decimal>${SOUTH_LATITUDE}</gco:Decimal>
143              </gmd:southBoundLatitude>
144              <gmd:northBoundLatitude>
145                <gco:Decimal>${NORTH_LATITUDE}</gco:Decimal>
146              </gmd:northBoundLatitude>
147            </gmd:EX_GeographicBoundingBox>
148          </gmd:geographicElement>
149        </gmd:EX_Extent>
150      </gmd:extent>
151      <bag:verticalUncertaintyType>
152        <bag:BAG_VertUncertCode codeList="http://www.opennavsurf.org/schema/bag/bagCodelists.xml#BAG_VertUncertCode" codeListValue="${VERTICAL_UNCERT_CODE:unknown}">${VERTICAL_UNCERT_CODE:unknown}</bag:BAG_VertUncertCode>
153      </bag:verticalUncertaintyType>
154    </bag:BAG_DataIdentification>
155  </gmd:identificationInfo>
156  <gmd:dataQualityInfo>
157    <gmd:DQ_DataQuality>
158      <gmd:scope>
159        <gmd:DQ_Scope>
160          <gmd:level>
161            <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
162          </gmd:level>
163        </gmd:DQ_Scope>
164      </gmd:scope>
165      <gmd:lineage>
166        <gmd:LI_Lineage>
167          <gmd:processStep>
168            <gmd:LI_ProcessStep>
169              <gmd:description>
170                <gco:CharacterString>${PROCESS_STEP_DESCRIPTION}</gco:CharacterString>
171              </gmd:description>
172              <gmd:dateTime>
173                <gco:DateTime>${DATETIME}</gco:DateTime>
174              </gmd:dateTime>
175            </gmd:LI_ProcessStep>
176          </gmd:processStep>
177       </gmd:LI_Lineage>
178     </gmd:lineage>
179    </gmd:DQ_DataQuality>
180  </gmd:dataQualityInfo>
181  <gmd:metadataConstraints>
182    <gmd:MD_LegalConstraints>
183      <gmd:useConstraints>
184        <gmd:MD_RestrictionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_RestrictionCode" codeListValue="${RESTRICTION_CODE:otherRestrictions}">${RESTRICTION_CODE:otherRestrictions}</gmd:MD_RestrictionCode>
185      </gmd:useConstraints>
186      <gmd:otherConstraints>
187        <gco:CharacterString>${RESTRICTION_OTHER_CONSTRAINTS:unknown}</gco:CharacterString>
188      </gmd:otherConstraints>
189    </gmd:MD_LegalConstraints>
190  </gmd:metadataConstraints>
191  <gmd:metadataConstraints>
192    <gmd:MD_SecurityConstraints>
193      <gmd:classification>
194        <gmd:MD_ClassificationCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ClassificationCode" codeListValue="${CLASSIFICATION:unclassified}">${CLASSIFICATION:unclassified}</gmd:MD_ClassificationCode>
195      </gmd:classification>
196      <gmd:userNote>
197        <gco:CharacterString>${SECURITY_USER_NOTE:none}</gco:CharacterString>
198      </gmd:userNote>
199    </gmd:MD_SecurityConstraints>
200  </gmd:metadataConstraints>
201</gmi:MI_Metadata>
202