[Gdal-dev] gdalwarp hangs when -dstnodata is used [solved]
Dylan Beaudette
dylan at iici.no-ip.org
Thu Jun 16 14:31:49 EDT 2005
On Wednesday 15 June 2005 04:50 pm, Hamish wrote:
> > gdalwarp (1.2.6 compiled from source) hangs after successfully
> > re-projecting a raster image when the -dstnodata flag is present.
>
> -tps is very new and still somewhat buggy. Does the same happen with
> -order 2?
>
> All sorts of weird memory problems. For me, if I made the output
> filename less than 20 chars it wouldn't work. Running using electric
> fence made things a bit better:
>
> $ ulimit -c unlimited
>
> $ LD_PRELOAD=libefence.so.0.0 gdalwarp -tps -srcnodata 255 \
> -dstnodata 255 8right_gcp.tif 8right_warped_xyy.tif
>
>
> (just need E-F shared library installed, no need to recompile)
>
> never had problems with -dstnodata.
>
> And don't use -co compress=lzw in gdalwarp, that has bugs too.
>
>
> see gdal bug #864
>
>
>
> Hamish
Thanks for the tips Hamish. I was able to solve the problem by specifying a
'-srcnodata 255' option on the command line.
These are some good tips, which i will file for future reference!
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
More information about the Gdal-dev
mailing list