Arnaud, If your layer status is set to ON. Try setting it to DEFAULT or adding the layer name in the URL. e.g. &layer=myLayerName
David. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 9:51 AM To: [email protected] Subject: [mapserver-users] Map is OK with shp2img but blank with CGI Hi list ! I am very very new to mapserver, so please forgive me if I missed something stupid. I've read the most important parts of the documentation (CGI reference and MapFile reference), so I am starting to get it, but I have a strange problem. I installed mapserver on my own computer. I created a basic mapfile, with only two layers. One is a RASTER layer, the other one a POSTGIS layer. If I run shp2img -m D:\mymap.map -o D:\test.png it runs OK, the image is created and the content is good (so EXTENT and SIZE are good). Now, if I open my browser and go to http://127.0.0.1:8080/cgi-bin/mapserv.exe?map=D:\mymap.map&mode=map all I get is a blank image. The size of the image is OK (it is the size I specified in the mapfile). I tried with the command line equivalent (mapserv -nh "QUERYSTRING=map=map=D:\mymap.map&mode=map" <test.png), but same thing, a blank image. I have activated DEBUG on MAP level an both LAYER levels, but all I get in the debug file are lines saying "[Wed Oct 15 16:49:01 2008].370000 CGI Request 1 on process 3316" etc... Now, I really don't know what I should try next... Does anyone know what I did wrong here ? Thanks a lot for helping ! -- Arnaud Lesauvage _______________________________________________ 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
