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.
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Mon Mar 19 15:32:02 PDT 2012
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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Annu Anurag
Sent: Monday, March 19, 2012 3:57 PM
To: mapserver-users at lists.osgeo.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120319/e76d69d4/attachment.htm>
More information about the MapServer-users
mailing list