<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)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.Shkpostityyli19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@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 bgcolor="white" lang="FI" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">Out of curiosity, the source file contains one single pixel. Is there a real use case, or are you just experimenting?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;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><span style="color:windowtext">Lähettäjä:</span></b><span style="color:windowtext"> gdal-dev <gdal-dev-bounces@lists.osgeo.org>
<b>Puolesta </b>Huu Bang Pham via gdal-dev<br>
<b>Lähetetty:</b> tiistai 17. syyskuuta 2024 17.18<br>
<b>Vastaanottaja:</b> gdal-dev@lists.osgeo.org<br>
<b>Aihe:</b> [gdal-dev] [ERROR]GDAL 3.8.4 on Ubuntu 24.04 could not warp after minutes, but GDAL 3.4.1 on Ubuntu 22.04 can?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
I'm testing <b>GDAL 3.8.4, released 2024/02/08 on Ubuntu 24.04</b> and it has a strange issue.<br>
<br>
I have a VRT file which <b>can be projected by gdalwarp on Ubuntu 22.04 (GDAL 3.4.1, released 2021/12/27) in less than one second</b>, but
<b>on Ubuntu 24.04, gdalwarp is stuck even after minutes </b>for no reason.<br>
<br>
The VRT file and the dummy PNG file for it are attached in the attachment files.<br>
<br>
gdalwarp command which I used is:<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">gdalwarp test.vrt -t_srs EPSG:32631 -tap -tr 1000 1000 -of VRT output.vrt -overwrite<o:p></o:p></p>
</blockquote>
<p><o:p> </o:p></p>
<p>gdalinfo of <b>test.vrt </b>is:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Driver: VRT/Virtual Raster<br>
Files: test.vrt<br>
/tmp/dummy_file_for_gdal.vrt.png<br>
Size is 1, 1<br>
Coordinate System is:<br>
GEOGCRS["WGS 84",<br>
DATUM["World Geodetic System 1984",<br>
ELLIPSOID["WGS 84",6378137,298.257223563,<br>
LENGTHUNIT["metre",1]]],<br>
PRIMEM["Greenwich",0,<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
CS[ellipsoidal,2],<br>
AXIS["geodetic latitude (Lat)",north,<br>
ORDER[1],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
AXIS["geodetic longitude (Lon)",east,<br>
ORDER[2],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
ID["EPSG",4326]]<br>
Data axis to CRS axis mapping: 2,1<br>
Origin = (6.868800000000000,51.374699999999997)<br>
Pixel Size = (0.000900000000000,-0.000900000000000)<br>
Corner Coordinates:<br>
Upper Left ( 6.8688000, 51.3747000) ( 6d52' 7.68"E, 51d22'28.92"N)<br>
Lower Left ( 6.8688000, 51.3738000) ( 6d52' 7.68"E, 51d22'25.68"N)<br>
Upper Right ( 6.8697000, 51.3747000) ( 6d52'10.92"E, 51d22'28.92"N)<br>
Lower Right ( 6.8697000, 51.3738000) ( 6d52'10.92"E, 51d22'25.68"N)<br>
Center ( 6.8692500, 51.3742500) ( 6d52' 9.30"E, 51d22'27.30"N)<br>
Band 1 Block=1x1 Type=Byte, ColorInterp=Red<o:p></o:p></p>
</blockquote>
<p>gdalinfo of<b> /tmp/dummy_file_for_gdal.vrt.png</b> is:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Driver: PNG/Portable Network Graphics<br>
Files: /tmp/dummy_file_for_gdal.vrt.png<br>
Size is 1, 1<br>
Image Structure Metadata:<br>
INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left ( 0.0, 0.0)<br>
Lower Left ( 0.0, 1.0)<br>
Upper Right ( 1.0, 0.0)<br>
Lower Right ( 1.0, 1.0)<br>
Center ( 0.5, 0.5)<br>
Band 1 Block=1x1 Type=Byte, ColorInterp=Red<br>
Band 2 Block=1x1 Type=Byte, ColorInterp=Green<br>
Band 3 Block=1x1 Type=Byte, ColorInterp=Blue<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
Thanks, <o:p></o:p></p>
</div>
</body>
</html>