Skip to content

Commit

Permalink
Use srsName of first envelope
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross-52n committed Jan 25, 2024
1 parent 65ca0ff commit 2c54885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/ctl/wcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8857,7 +8857,7 @@ offering. Enter the grid resolutions below.</p>
<xsl:for-each select="$request1/wcs:CoverageDescription/wcs:CoverageOffering[wcs:domainSet/wcs:spatialDomain]/wcs:supportedFormats/wcs:formats">
<xsl:if test="not(../../preceding-sibling::wcs:CoverageOffering[wcs:domainSet/wcs:spatialDomain]/wcs:supportedFormats/wcs:formats=.)">
<xsl:variable name="coverage" select="../../wcs:name"/>
<xsl:variable name="crs" select="../../wcs:domainSet/wcs:spatialDomain/gml:Envelope/@srsName"/>
<xsl:variable name="crs" select="../../wcs:domainSet/wcs:spatialDomain/gml:Envelope[1]/@srsName"/>
<xsl:variable name="bbox">
<xsl:value-of select="translate(normalize-space(../../wcs:domainSet/wcs:spatialDomain/gml:Envelope[1]/gml:pos[1]), ' ', ',')"/>
<xsl:text>,</xsl:text>
Expand Down

0 comments on commit 2c54885

Please sign in to comment.