[Gdal-dev] gdalwarp hangs when -dstnodata is used

Dylan Beaudette dylan at iici.no-ip.org
Wed Jun 15 18:04:26 EDT 2005


Hi,

gdalwarp (1.2.6 compiled from source) hangs after successfully re-projecting a 
raster image when the -dstnodata flag is present.

for example;

this command hangs:
gdalwarp -multi -tps -t_srs '+proj=utm +zone=10 +datum=NAD83 +units=m' -s_srs 
'+proj=lcc +lat_1=36.0000 +lat_2=37.2500 +lat_0=35.333333333333336 
+lon_0=-119.0000 +x_0=2000000 +y_0=500000 +datum=NAD83 +units=ft' -dstnodata 
255 CA_SPC_IV/884088.tif for_mapserver/884088.tif 

this one does not:
gdalwarp -multi -tps -t_srs '+proj=utm +zone=10 +datum=NAD83 +units=m' -s_srs 
'+proj=lcc +lat_1=36.0000 +lat_2=37.2500 +lat_0=35.333333333333336 
+lon_0=-119.0000 +x_0=2000000 +y_0=500000 +datum=NAD83 +units=ft' 
CA_SPC_IV/884088.tif for_mapserver/884088.tif 


any ideas on what could be causing this?

I am trying to assign a NODATA value to a pile of images so that they can be 
tiled in mapserver.

thanks!

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



More information about the Gdal-dev mailing list