[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?

Huu Bang Pham bphamhuu at constructor.university
Tue Sep 17 07:18:19 PDT 2024


Hello,

I'm testing *GDAL 3.8.4, released 2024/02/08 on Ubuntu 24.04* and it has 
a strange issue.

I have a VRT file which *can be projected by gdalwarp on Ubuntu 22.04 
(GDAL 3.4.1, released 2021/12/27) in less than one second*, but *on 
Ubuntu 24.04, gdalwarp is stuck even after minutes *for no reason.

The VRT file and the dummy PNG file for it are attached in the 
attachment files.

gdalwarp command which I used is:

> gdalwarp test.vrt -t_srs EPSG:32631 -tap -tr 1000 1000 -of VRT 
> output.vrt -overwrite


gdalinfo of *test.vrt *is:

> Driver: VRT/Virtual Raster
> Files: test.vrt
>        /tmp/dummy_file_for_gdal.vrt.png
> Size is 1, 1
> Coordinate System is:
> GEOGCRS["WGS 84",
>     DATUM["World Geodetic System 1984",
>         ELLIPSOID["WGS 84",6378137,298.257223563,
>             LENGTHUNIT["metre",1]]],
>     PRIMEM["Greenwich",0,
>         ANGLEUNIT["degree",0.0174532925199433]],
>     CS[ellipsoidal,2],
>         AXIS["geodetic latitude (Lat)",north,
>             ORDER[1],
>             ANGLEUNIT["degree",0.0174532925199433]],
>         AXIS["geodetic longitude (Lon)",east,
>             ORDER[2],
>             ANGLEUNIT["degree",0.0174532925199433]],
>     ID["EPSG",4326]]
> Data axis to CRS axis mapping: 2,1
> Origin = (6.868800000000000,51.374699999999997)
> Pixel Size = (0.000900000000000,-0.000900000000000)
> Corner Coordinates:
> Upper Left  (   6.8688000,  51.3747000) (  6d52' 7.68"E, 51d22'28.92"N)
> Lower Left  (   6.8688000,  51.3738000) (  6d52' 7.68"E, 51d22'25.68"N)
> Upper Right (   6.8697000,  51.3747000) (  6d52'10.92"E, 51d22'28.92"N)
> Lower Right (   6.8697000,  51.3738000) (  6d52'10.92"E, 51d22'25.68"N)
> Center      (   6.8692500,  51.3742500) (  6d52' 9.30"E, 51d22'27.30"N)
> Band 1 Block=1x1 Type=Byte, ColorInterp=Red

gdalinfo of*/tmp/dummy_file_for_gdal.vrt.png* is:

> Driver: PNG/Portable Network Graphics
> Files: /tmp/dummy_file_for_gdal.vrt.png
> Size is 1, 1
> Image Structure Metadata:
>   INTERLEAVE=PIXEL
> Corner Coordinates:
> Upper Left  (    0.0,    0.0)
> Lower Left  (    0.0,    1.0)
> Upper Right (    1.0,    0.0)
> Lower Right (    1.0,    1.0)
> Center      (    0.5,    0.5)
> Band 1 Block=1x1 Type=Byte, ColorInterp=Red
> Band 2 Block=1x1 Type=Byte, ColorInterp=Green
> Band 3 Block=1x1 Type=Byte, ColorInterp=Blue


Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240917/5a542933/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy_file_for_gdal.vrt.png
Type: image/png
Size: 69 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240917/5a542933/attachment.png>
-------------- next part --------------
<VRTDataset rasterXSize="1" rasterYSize="1">
  <SRS>GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]</SRS>
  <GeoTransform> 6.8688, 0.0009, 0, 51.374699999999994, 0, -0.0009 </GeoTransform>
  <VRTRasterBand dataType="Byte" band="1">
    <ColorInterp>Red</ColorInterp>
    <SimpleSource>
      <SourceFilename relativeToVRT="1">/tmp/dummy_file_for_gdal.vrt.png</SourceFilename>
      <SourceProperties RasterXSize="1" RasterYSize="1" DataType="Byte" BlockXSize="1" BlockYSize="1" />

    </SimpleSource>
  </VRTRasterBand>
</VRTDataset>


More information about the gdal-dev mailing list