Skip to content

Commit

Permalink
BAG: fix bag_template.xml file, that switches width/height and resx/r…
Browse files Browse the repository at this point in the history
…esy in the XML metadata

Fixes the issue reported in
https://lists.osgeo.org/pipermail/gdal-dev/2021-March/053711.html
  • Loading branch information
rouault committed Mar 19, 2021
1 parent 0f8b5b9 commit 1d2e7bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gdal/data/bag_template.xml
Expand Up @@ -39,10 +39,10 @@
<gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="row">row</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gco:Integer>${HEIGHT}</gco:Integer>
<gco:Integer>${WIDTH}</gco:Integer>
</gmd:dimensionSize>
<gmd:resolution>
<gco:Measure uom="${RES_UNIT}">${RESY}</gco:Measure>
<gco:Measure uom="${RES_UNIT}">${RESX}</gco:Measure>
</gmd:resolution>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
Expand All @@ -52,10 +52,10 @@
<gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="column">column</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gco:Integer>${WIDTH}</gco:Integer>
<gco:Integer>${HEIGHT}</gco:Integer>
</gmd:dimensionSize>
<gmd:resolution>
<gco:Measure uom="${RES_UNIT}">${RESX}</gco:Measure>
<gco:Measure uom="${RES_UNIT}">${RESY}</gco:Measure>
</gmd:resolution>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
Expand Down

0 comments on commit 1d2e7bc

Please sign in to comment.