Changes between Initial Version and Version 6 of Ticket #1359


Ignore:
Timestamp:
Apr 7, 2007, 1:30:06 PM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1359 – Description

    initial v6  
    1 {{{
    21I'm not sure if this is the right place for this bug report, but I think it is.
    32
    43When 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:
    54
    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{{{
     6msSetError (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}}}
    79
    810This error is intermittent. If I use a query string with:
    911
     12{{{
    1013BBOX=72.7974593639504,18.986558510617186,72.88809657098165,19.04887159045117&WIDTH=528&HEIGHT=36
     14}}}
    1115
    1216then there is an error.
     
    1418If I use:
    1519
     20{{{
    1621BBOX=72.82011866570821,19.002136780575682,72.86543726922383,19.033293320492675&WIDTH=528&HEIGHT=363
     22}}}
    1723
    1824There is no error.
     
    2026The 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.
    2127
    22 The image being rendered has been created using gdalwarp and gdaltranslate from http://labs.metacarta.com/rectifier/maps/bombay1969.jpg:
     28The image being rendered has been created using gdalwarp and gdaltranslate from http://labs.metacarta.com/rectifier/maps/bombay1969.jpg
    2329
    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{{{
     31gdal_translate -a_srs '+init=epsg:4326' -of VRT \
     32   $LIBPATH/bombay1969.jpg maps/$$.vrt $GCPS
     33}}}
     34
     35{{{
     36gdalwarp 0 maps/$$.vrt maps/bombay1969.tiff -dstalpha \
     37   -co TILED=YES -co COMPRESS=PACKBITS -co ALPHA=YES
     38}}}
    2639
    2740$GCPS is:
    2841
     42{{{
    2943-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}}}
    3045
    3146This is using gdal 1.3.2 from debian unstable.
    3247
    3348If there is any other feedback I can offer, please let me know.
    34 }}}