I'm guessing this is a layer status issue. The cgi and shp2img behave 
differently in that regard. The cgi sets any non-default layer to off so you 
must request the layers to be on explicitly using the "layer" variable, e.g. 
...&layer=foo1&layer=foo2&...

Steve

Sent from my iPad

On Jul 5, 2011, at 1:24 AM, Dushi <[email protected]> wrote:

> Hi guys,
> Im using mapserver with apache on Ubuntu. I'm trying to generate a PNG image 
> using shape files by calling a map file. When i call the mapserver through 
> apache2 web server it only generates an empty PNG with white space. but when 
> i call it through "shp2img" utility it works fine. please be kind to help me. 
> i'm a new to mapserver.
> Thank you so much 
> -- 
> Me on Web
> http://dushan888.wordpress.com
> http://www.twitter.com/Dushi
> http://identi.ca/dushi
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to