[mapserver-users] Some queries return blank Images

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Aug 12 03:36:19 PDT 2015


Hi,

The error " msInitProjTransformer() returned NULL." makes me think that something goes wrong with projections. Or then the main point is in RAW_WINDOW=0 0 1 1, dst=0,0,1,1 which probably means that one single pixel is read from the source image for further processing.
Showing a simplified but complete mapfile with PROJECTION blocks, gdalinfo from the source image and perhaps also the WMS request that the client is generating would make it much easier to help you. The request can be found from the Apache log and you probably know also how to capture it from your custom app.

-Jukka Rahkonen-

Puolesta EdouardG wrote:
 
> Hello,

> I am running mapserver 6.0.1 trought a cgi script with apache on a debian VM.
> I am trying to visualise images through WMS using a custom app I developped based on the WorldWind API.
> I prepared the images with gdal, tiled them, created a shapefile index and overviews.
> I configured Apache, redacted the mapfile etc. Everything works almost fine.

> The problem is that when requesting my tiles i can see some of them but others are returned blank.
> I tried in ArcGIS, my WorldWind App and a browser. Some of the Images and their associated tiles are always blank (always the same ones). I displayed the images (that generate > the blank images) and their tiles without any problem in ArcMap but when going through mapserver something I dont know is happening and messing up some of them.
> I put my Layer in Debug and noticed something in the logfile :
> When the tile is working I have :

[Wed Aug 12 09:58:22 2015].426335 msResampleGDALToMap in effect: cellsize =
0.000007
[Wed Aug 12 09:58:22 2015].426380 msDrawGDAL(Pipes_Layer): using
RAW_WINDOW=0 0 1639 1442, dst=0,0,8,7
[Wed Aug 12 09:58:22 2015].426390 msDrawRasterLayerGDAL():
red,green,blue,alpha bands = 1,0,0,0

> When its not I have : 
[Wed Aug 12 09:58:22 2015].424930 msResampleGDALToMap in effect: cellsize =
0.000000
[Wed Aug 12 09:58:22 2015].424973 msDrawGDAL(Pipes_Layer): using
RAW_WINDOW=0 0 1 1, dst=0,0,1,1
[Wed Aug 12 09:58:22 2015].424984 msDrawRasterLayerGDAL():
red,green,blue,alpha bands = 1,0,0,0
[Wed Aug 12 09:58:22 2015].425405 msInitProjTransformer() returned NULL.

> So I can deduce something is wrong here, but I dont really understand why...
> I am pretty new in this thing and my knowledge stops here...
> All the Images come from the same survey and have been through the same processing.

> I will gladly give you any information you might need to investigate this issue.

> I hope I have been clear enough...

> Thank you in advance for your help.




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Some-queries-return-blank-Images-tp5219503.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list