Ticket #1698 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

gdalwarp progress stops at 90percent

Reported by: david Owned by: frank warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: minor Keywords: gdal warp
Cc:

Description

When running the gdalwarp process on a subfolder of imagery (GeoTIFF input, GeoTIFF output) or elevation (DT1 input, GeoTIFF output), several inputs never reach 100% completion:

0…10…20…30…40…50…60…70…80…90…100 -Done.

They stop at 90%:

0…10…20…30…40…50…60…70…80…90…

Even after repeated attempts. No warnings indicated. I can still open the output in a viewer. Seems ok.

FW suggested "...expect this is a peculiarity of rounding the progress values in gdalwarp."

This is the command I am using for imagery:

for /R J:\SourceData?\Imagery\ %%F IN (*.tif) DO "C:\FWTools1.3.4\bin\gdalwarp" -t_srs "+proj=UTM +zone=38 +datum=WGS84" -multi -rcs -of GTiff %%F K:\15m_Reprojected\%%~nF.tif

This is the command I am using for DTED:

for /R J:\SourceData?\DTED\ %%F IN (*.dt1) DO "C:\FWTools1.3.4\bin\gdalwarp" -t_srs "+proj=UTM +zone=38 +datum=WGS84" -multi -rcs -of GTiff %%F K:\DTED_Reprojected\%%~nF.tif

You will note I am using FWTools1.3.4 (for Win 32) on WinXP desktop PC with 2GB RAM.

David Riepl

Attachments

DTED-inputsample.rar Download (0.8 MB) - added by david 6 years ago.

Change History

Changed 6 years ago by david

Changed 6 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed

I have confirmed this, though it only seems to happen on windows. I guess this confirms it is a subtle issue with floating point rounding. The fix is in trunk only (r11737). It should appear in the next FWTools release.

Note: See TracTickets for help on using tickets.