<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 09/01/2023 à 20:22, Rahkonen Jukka a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR09MB32193C0BE7C9CE5FD812F59DFDFE9@AM0PR09MB3219.eurprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}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;}pre
{mso-style-priority:99;
mso-style-link:"HTML-esimuotoiltu Char";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}span.HTML-esimuotoiltuChar
{mso-style-name:"HTML-esimuotoiltu Char";
mso-style-priority:99;
mso-style-link:HTML-esimuotoiltu;
font-family:Consolas;}span.Shkpostityyli21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}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]-->
<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 style="mso-fareast-language:EN-US"
lang="EN-US">I noticed that the survey foot is now deemed
obsolete
<a href="https://www.nist.gov/pml/us-surveyfoot"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.nist.gov/pml/us-surveyfoot</a>
since 1<sup>st</sup> of January. Should/could there be
warnings in GDAL/Proj about that? Or will also the
corresponding entries in the EPSG database become obsolete
in time?</span></p>
</div>
</blockquote>
<p>The US government rightly wants to fix the future, but it can't
fix the past. I bet that the use of CRS using US Survey Foot will
outlive all of us. IMHO, I don't think it is GDAL/Proj
responsibility to do anything special regarding that. Probably
that tagging those CRS in the EPSG database will indeed be the
next action, but I believe this should be with care as it could
have surprising effects. Probably the supersession mechanism would
be more appropriate than deprecation (deprecation in EPSG is often
used to tag broken entries. there is nothing broken with US Survey
Foot)<br>
</p>
<p>Even<br>
</p>
<blockquote type="cite"
cite="mid:AM0PR09MB32193C0BE7C9CE5FD812F59DFDFE9@AM0PR09MB3219.eurprd09.prod.outlook.com">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="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><span lang="EN-US">Lähettäjä:</span></b><span
lang="EN-US"> gdal-dev
<a class="moz-txt-link-rfc2396E" href="mailto:gdal-dev-bounces@lists.osgeo.org"><gdal-dev-bounces@lists.osgeo.org></a>
<b>Puolesta </b>Even Rouault<br>
<b>Lähetetty:</b> maanantai 9. tammikuuta 2023 21.10<br>
<b>Vastaanottaja:</b> Kirk Waters - NOAA Federal
<a class="moz-txt-link-rfc2396E" href="mailto:kirk.waters@noaa.gov"><kirk.waters@noaa.gov></a>; <a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<b>Aihe:</b> Re: [gdal-dev] feet converting to meters
unexpectedly<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p>Hi,<o:p></o:p></p>
<p>This is indeed <a
href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgdal%2Fissues%2F6839&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cff99c3d359784e7f45ce08daf2752dad%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638088882332787798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=50fmqgZrGZQQdpKoc1fOlTL0yhI2z1Wf9Dabs0KwExs%3D&reserved=0"
moz-do-not-send="true">
https://github.com/OSGeo/gdal/issues/6839</a> which has been
fixed in GDAL 3.6.1.<o:p></o:p></p>
<p>Even<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 09/01/2023 à 19:48, Kirk Waters - NOAA
Federal via gdal-dev a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">I think I've gotten this solved for
my purposes now, but I'm reporting it here in case
anyone else might run across issues using gdal in a
conda environment. If I make a conda environment
containing:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">python<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">pdal=2.4.2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">gdal<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(which ends up with gdal version
3.5.1, pdal version 2.4.2), I get a weird behavior where<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">gdalwarp input.tif output.tif <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">will change the values in the raster
as if it is converting from feet to meters. My example
raster where I see this has georeferencing of
EPSG:3521+6360 and is a 32-bit floating point DEM. My
use case would have more arguments to gdalwarp, but I
simplified to the minimum that showed the problem.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If I change the environment package
list for conda to not specify the pdal version, I'll get
pdal version 2.4.3 and gdal version 3.6.2 and the raster
will convert correctly. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I did note that in a setup where it
converts the values, I see this warning:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Warning 1: Unknown units=US survey
foot<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif">Kirk
Waters, PhD </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif">NOAA
Office for Coastal Management</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif">Applied
Sciences Program </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Phone:
843-284-6962 (New as of 2022) <span
style="font-family:"Arial",sans-serif"> </span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif"><a
href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcoast.noaa.gov%2Fdigitalcoast&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cff99c3d359784e7f45ce08daf2752dad%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638088882332787798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mFBiuSZzlkEop5b4qQLEcKr1Xmmmu1sGw0NxxOE0dj4%3D&reserved=0"
target="_blank"
moz-do-not-send="true">coast.noaa.gov/digitalcoast</a></span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gdal-dev mailing list<o:p></o:p></pre>
<pre><a href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true" class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cff99c3d359784e7f45ce08daf2752dad%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638088882332787798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3ZnHOEI50I0QfHU5qO6IIOZlEMB4WFJRaBhAaB0vW%2Bk%3D&reserved=0" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre><a href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cff99c3d359784e7f45ce08daf2752dad%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638088882332944041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3XoD5Rxng%2BozCi%2FyIAClJLUZHwuJnAhXM%2BAjTn4QtrM%3D&reserved=0" moz-do-not-send="true">http://www.spatialys.com</a><o:p></o:p></pre>
<pre>My software is free, but my time generally not.<o:p></o:p></pre>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>