[gdal-dev] WMS layer issue at higher zoom level

Raghav Singh raghav.singh at eagleview.com
Fri Oct 20 09:52:55 PDT 2023


I ran mapserver locally ran the specific wms request locally so getting this error - Assertion failed: (MS_RENDERER_RAWDATA(image->format) || (MS_RENDERER_PLUGIN(image->format) && rb)), function msDrawRasterLayerGDAL, file mapdrawgdal.c, line 126.
Abort trap: 6
Any idea regarding this?

and in logs it's coming like this -

Fri Oct 20 21:56:56 2023].137990 msDrawMap(): rendering using outputformat named mypng (AGG/PNG).

[Fri Oct 20 21:56:56 2023].138020 msDrawMap(): WMS/WFS set-up and query, 0.000s

[Fri Oct 20 21:56:56 2023].198332 msDrawRasterLayerLow(PICT-INHEND19-psQwiZ1L4t): entering.

[Fri Oct 20 21:56:58 2023].803667 msDrawRasterLayerLow(PICT-INHEND19-psQwiZ1L4t): entering.

[Fri Oct 20 22:10:13 2023].219765 drawGDAL() error coming from here: Unable to access file. GDALDatasetRasterIO() failed: IReadBlock failed at X offset 497, Y offset 740: GDALWMS: Unable to download block 497, 740.



________________________________
From: Raghav Singh
Sent: 04 October 2023 11:09
To: gdal-dev at lists.osgeo.org <gdal-dev at lists.osgeo.org>
Subject: WMS layer issue at higher zoom level

Hi,

I am trying to get a layer from wms and at higher zoom levels I am getting this error - msDrawMap(): Image handling error. Failed to draw layer named 'PICT-INHEND19-psQwiZ1L4t'. drawGDAL(): Unable to access file. GDALDatasetRasterIO() failed: /tmp/mapfilePassthru-v2-temp-HxmyxI, band 1: IReadBlock failed at X offset 1064, Y offset 1551.

So, for this I checked from the imageservice side the mapfile is being created correctly and it is also present there and the mapfile contains a gserve request for getting the tiles - that is also working fine. So getting this error from mapserver only and tried to put debug level 5 and other things also in the mapfile but couldn't get any other error, only this is coming. So need help in this if anybody knows what exactly is this and i can i debug mapserver locally if i want to then i can figure out the exact point where the error is coming from.

Thanks,
Raghav Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231020/eb837176/attachment-0001.htm>


More information about the gdal-dev mailing list