Hi,

Out of curiosity, the source file contains one single pixel. Is there a real 
use case, or are you just experimenting?

-Jukka Rahkonen-

Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org> Puolesta Huu Bang Pham 
via gdal-dev
Lähetetty: tiistai 17. syyskuuta 2024 17.18
Vastaanottaja: gdal-dev@lists.osgeo.org
Aihe: [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?

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,
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to