[MAPSERVER-USERS] ms4w bug: mapserv returns empty(blank) image

BrainDrain paulborodaev at gmail.com
Wed Aug 13 01:35:04 EDT 2008


I have this input projection for my layers
"+proj=tmerc +lat_0=0 +lon_0=45 +k=1.000000 +x_0=0 +y_0=0 +ellps=krass
+towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=mm +no_defs" (local coordsys)
and this is output proj
"+proj=tmerc +lat_0=0 +lon_0=45 +k=1.000000 +x_0=0 +y_0=0 +ellps=krass
+towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=m +no_defs" (just mm->m)
so I have a 0 0 point in my map & I found holes in some place with certain
zoom scale:
for ex this produces blank image. 
http://localhost/cgi-bin/mapserv.exe?layers=construct&map=C%3A%2FWINDOWS%2FMicrosoft.NET%2FFramework%2Fv2.0.50727%2FTemporary%20ASP.NET%20Files%2Fwem%2Ff47bfcbf%2FSession_mkkoj034s3ocw4ajt4zlfzvp%2F0_cicbase.map&map_imagetype=AGG_JPEG&format=image%2Fjpeg&ts=1218605020578&session=mkkoj034s3ocw4ajt4zlfzvp&mode=map&mapext=-81.16385911179067+-11.48545176110251+-0.7656967840724462+68.91271056661571&imgext=-81.16385911179067+-11.48545176110251+-0.7656967840724462+68.91271056661571&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
I think mapserv will return empty image for such kind of bbox independently
of map file content.

mapscript c# draws normal image for this extent/scale;
map file is correct;
as a solution I can use my own web service to draw map tiles in this
particular cases, but 
now I have changed my output projection to "+proj=tmerc +lat_0=48.70975
+lon_0=44.51205 +k=1.000000 +x_0=0 +y_0=0 +ellps=krass
+towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=m +no_defs"
(normalized to real world) and all works fine)) But this ms4w bug(?) still
exists.

-- 
View this message in context: http://www.nabble.com/ms4w-bug%3A-mapserv-returns-empty%28blank%29-image-tp18957296p18957296.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list