<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Segoe UI Light";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.Shkpostityyli19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Your question is exceptionally detailed but because the issue happens only with a certain Docker image maybe you should contact the authors of the image
</span><span style="mso-fareast-language:EN-US"><a href="https://github.com/PDOK/mapserver-docker/"><span lang="EN-US">https://github.com/PDOK/mapserver-docker/</span></a></span><span lang="EN-US" style="mso-fareast-language:EN-US">. But you seem to be one
 of the contributors yourself <a href="https://github.com/PDOK/mapserver-docker/graphs/contributors">
https://github.com/PDOK/mapserver-docker/graphs/contributors</a>. Generally speaking, if one Docker works while another one does not I think I would start by studying how they differ.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org>
<b>Puolesta </b>Bakker, Anton via MapServer-users<br>
<b>Lähetetty:</b> perjantai 26. elokuuta 2022 19.20<br>
<b>Vastaanottaja:</b> mapserver-users@lists.osgeo.org<br>
<b>Aihe:</b> [MapServer-users] WCS 2.0.1 GetCoverage request results in corrupted geotiff<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">Hi all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">I am running into a curious issue in which WCS 2.0.1 getcoverage requests produces a corrupted geotiff (which is bad) and WCS 1.0.0 getcoverage requests produce valid geotiffs
 (which is good). This behaviour occurs with our <a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhub.docker.com%2Fr%2Fpdok%2Fmapserver&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C8c5cd02a7bd44282578908da877fd14d%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637971280290882891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q0s0yCgZuksu7M6TBPSUQ8uu8jKgKVw%2F0b17z4DXKKU%3D&reserved=0">https://hub.docker.com/r/pdok/mapserver</a>
 Docker image. I could not reproduce the behaviour with <a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhub.docker.com%2Fr%2Fcamptocamp%2Fmapserver%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C8c5cd02a7bd44282578908da877fd14d%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637971280291039128%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fWyRMTs5BbWDGVGFqS%2FnDUFTx2gZrP3qVW6%2BS2V9rSA%3D&reserved=0">
https://hub.docker.com/r/camptocamp/mapserver/</a> Docker image. <br>
<br>
On top of that; I can only reproduce this issue when running with docker. When running the same example with docker-compose it works fine.
<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">I detailed the full issue description and steps to reproduce in this
<a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Farbakker%2F889b10d839573c4cebb983ff19b17e94&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C8c5cd02a7bd44282578908da877fd14d%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637971280291039128%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U8TUOBs16nkC0D3ni7nkb53L5U3h0q2K4SoKu2rG7EM%3D&reserved=0" title="https://gist.github.com/arbakker/889b10d839573c4cebb983ff19b17e94">
gist</a>.  If anyone has any suggestions or ideas what might be causing it I would be grateful for a response.
<br>
<br>
Kind regards,<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="margin-top:12.0pt;margin-bottom:12.0pt;min-width: 424px" id="LPBorder_GTaHR0cHM6Ly9naXN0LmdpdGh1Yi5jb20vYXJiYWtrZXIvODg5YjEwZDgzOTU3M2M0Y2ViYjk4M2ZmMTliMTdlOTQ.">
<table class="MsoNormalTable" border="1" cellspacing="3" cellpadding="0" width="100%" style="width:100.0%;border:solid #C8C8C8 1.0pt">
<tbody>
<tr>
<td valign="top" style="border:none;padding:9.0pt 27.0pt 9.0pt 9.0pt">
<div style="margin-right:9.0pt;overflow:hidden" id="LPImageContainer296133">
<p class="MsoNormal"><a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Farbakker%2F889b10d839573c4cebb983ff19b17e94&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C8c5cd02a7bd44282578908da877fd14d%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637971280291039128%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U8TUOBs16nkC0D3ni7nkb53L5U3h0q2K4SoKu2rG7EM%3D&reserved=0" target="_blank"><span style="text-decoration:none"><img border="0" width="241" height="120" style="width:2.5069in;height:1.25in" id="_x0000_i1025" src="https://github.githubassets.com/images/modules/gists/gist-og-image.png"></span></a><o:p></o:p></p>
</div>
</td>
<td width="100%" valign="top" style="width:100.0%;border:none;padding:9.0pt 27.0pt 9.0pt 9.0pt">
<div style="margin-right:6.0pt;margin-bottom:9.0pt" id="LPTitle296133">
<p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Segoe UI Light",sans-serif"><a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Farbakker%2F889b10d839573c4cebb983ff19b17e94&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C8c5cd02a7bd44282578908da877fd14d%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637971280291039128%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U8TUOBs16nkC0D3ni7nkb53L5U3h0q2K4SoKu2rG7EM%3D&reserved=0" target="_blank"><span style="text-decoration:none">MapServer
 WCS 2.0.1 GetCoverage request results in corrupt geotiff</span></a><o:p></o:p></span></p>
</div>
<div style="margin-right:6.0pt;margin-bottom:9.0pt;max-height: 100px;overflow:hidden" id="LPDescription296133">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#666666">MapServer WCS 2.0.1 GetCoverage request results in corrupt geotiff - README.md<o:p></o:p></span></p>
</div>
<div id="LPMetadata296133">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#A6A6A6">gist.github.com<o:p></o:p></span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div id="Signature">
<div>
<div>
<p class="MsoNormal"><b><span style="color:#007395">​Anton Bakker</span></b><span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<span style="font-size:10.0pt">Disclaimer:<br>
De inhoud van deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n).<br>
Gebruik, openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan.<br>
Op al onze producten en diensten zijn onze algemene leveringsvoorwaarden van toepassing<br>
[https://www.kadaster.nl/algemene-leveringsvoorwaarden].<br>
<br>
Disclaimer:<br>
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.<br>
If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.<br>
Our general terms and conditions of delivery apply to all our products and services<br>
[https://www.kadaster.com/general-terms-and-conditions]. </span><o:p></o:p></p>
</div>
</body>
</html>