You haven't said how you're creating the image. Are you using mode=browse, 
mode=map, shp2img, mapscript or ???

Offhand I'd say the problem is probably your layer status value. If you are 
using the CGI all layers are turned off unless they have "STATUS DEFAULT" and 
then you must explicitly turn them on using either the layer or layers CGI 
variables. Try setting your layer status to DEFAULT and see what happens.

Steve

From: [email protected] 
[mailto:[email protected]] On Behalf Of Annu Anurag
Sent: Monday, March 19, 2012 3:57 PM
To: [email protected]
Subject: Re [mapserver-users] mapserver displaying only the background image as 
specified in the IMAGECOLOR field in the mapfile. No image generated from the 
shapefile data.


Thanks a lot, friend. I set up WIDTH = 4.0 and I have checked the extent with 
ogrinfo -summary on the shapefile. The image still comprises of just the 
background color, sadly. :( What else could be the issue? I'm out of ideas. The 
mapfile seems syntactically correct. There are no errors thrown up either.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to