Changes between Initial Version and Version 6 of Ticket #1359
- Timestamp:
- Apr 7, 2007, 1:30:06 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1359 – Description
initial v6 1 {{{2 1 I'm not sure if this is the right place for this bug report, but I think it is. 3 2 4 3 When rendering a relatively large GeoTIFF via Mapserver, I am getting random 'failed to draw layer' messages. After testing on Mapserver 4.10 and 4.9, I built 4.10 from debian sources, and debugged until I got this error: 5 4 6 msSetError (code=1, message_fmt=0x810ca32 "GDALRasterIO() failed: %s", routine=0x817a9b0 "IReadBlock failed at X offset 4, Y offset 14") at maperror.c:381 5 {{{ 6 msSetError (code=1, message_fmt=0x810ca32 "GDALRasterIO() failed: 7 %s", routine=0x817a9b0 "IReadBlock failed at X offset 4, Y offset 14") at maperror.c:381 8 }}} 7 9 8 10 This error is intermittent. If I use a query string with: 9 11 12 {{{ 10 13 BBOX=72.7974593639504,18.986558510617186,72.88809657098165,19.04887159045117&WIDTH=528&HEIGHT=36 14 }}} 11 15 12 16 then there is an error. … … 14 18 If I use: 15 19 20 {{{ 16 21 BBOX=72.82011866570821,19.002136780575682,72.86543726922383,19.033293320492675&WIDTH=528&HEIGHT=363 22 }}} 17 23 18 24 There is no error. … … 20 26 The tarball set to the URL of this bug contains the (very simple) mapfile I was using, as well as the image (which is quite large -- 200MB) which caused the error. The tarball is approx 90MB to download. 21 27 22 The image being rendered has been created using gdalwarp and gdaltranslate from http://labs.metacarta.com/rectifier/maps/bombay1969.jpg :28 The image being rendered has been created using gdalwarp and gdaltranslate from http://labs.metacarta.com/rectifier/maps/bombay1969.jpg 23 29 24 gdal_translate -a_srs '+init=epsg:4326' -of VRT $LIBPATH/bombay1969.jpg maps/$$.vrt $GCPS 25 gdalwarp 0 maps/$$.vrt maps/bombay1969.tiff -dstalpha -co TILED=YES -co COMPRESS=PACKBITS -co ALPHA=YES 30 {{{ 31 gdal_translate -a_srs '+init=epsg:4326' -of VRT \ 32 $LIBPATH/bombay1969.jpg maps/$$.vrt $GCPS 33 }}} 34 35 {{{ 36 gdalwarp 0 maps/$$.vrt maps/bombay1969.tiff -dstalpha \ 37 -co TILED=YES -co COMPRESS=PACKBITS -co ALPHA=YES 38 }}} 26 39 27 40 $GCPS is: 28 41 42 {{{ 29 43 -gcp 2620.69249001997 4565.3926521956 72.8539037704468 19.0201511019564 -gcp 2420.7133233533 4642.0313747505 72.8477239608765 19.0178587490128 -gcp 2682.96145209581 4351.0437250499 72.8551697731018 19.0262571267574 -gcp 1880.64982534931 7592.62219311376 72.8349781036377 18.9320249486597 -gcp 1498.65369261478 7514.78599051895 72.8234338760376 18.9336892862771 -gcp 1483.08645209582 7686.02563622754 72.8231763839722 18.9288586020447 -gcp 1639.95633732536 7541.1305513972 72.8278541564941 18.9330803841945 -gcp 2135.7130738523 7640.52139471057 72.8428745269775 18.9289803857165 -gcp 1772.87662175649 7772.24419910179 72.8320169448853 18.9262605292328 44 }}} 30 45 31 46 This is using gdal 1.3.2 from debian unstable. 32 47 33 48 If there is any other feedback I can offer, please let me know. 34 }}}