[gdal-dev] Progress and cancel of gdalwarp program

Even Rouault even.rouault at spatialys.com
Tue Apr 26 02:43:57 PDT 2016


Le mardi 26 avril 2016 11:36:46, Gane R a écrit :
> Is that any way to get the progress of the gdalwarp and make a cancel
> request of gdalwarp.
> 
> in gdal 1.10.1
> In gdalwarp.cpp
>  I see psWO->pfnProgress = GDALTermProgress;
> 
> This for only progress right ?

No, if the function returns FALSE, the processing is stopped.

> 
> I want to have function called with the progress displayed and also check,
> if cancel is requested.
> 
> Gane

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list