Which Mapserver version? Can you post your complete MAP file, most specifically what is the name of your MAP object?
Best regards, Bart -----Oorspronkelijk bericht----- Van: UMN MapServer Users List [mailto:[EMAIL PROTECTED] toni hernández Verzonden: woensdag 6 september 2006 8:47 Aan: [email protected] Onderwerp: [UMN_MAPSERVER-USERS] configuring WMS service HI all, I've reading the documentation about configuring a mapserver as a WMS server. Everything seems to be working fine except for the fact that the LAYERS parameter (in the url) is not working properly. In the map file I just have two layers: salt (.dgn file), and girona (.shp file with poligons) . Both with status off in the map file The problem is that the girona layer is always on the image. As you can see in the URL bellow the layers parameter is just asking for the salt layer. http://sigserver4.udg.es/cgi-bin/salt_carto?request=GetMap&VERSION=1.1.0&SERVICE=WMS&SRS=EPSG:23031&BBOX=482840.46367545397,4646726.721942619,484238.53218965203,4648124.7904568175&WIDTH=600&HEIGHT=600&LAYERS=salt&STYLES=&FORMAT=image/gif&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&EXCEPTION=INIMAGE Here is the girona layer in the map file. LAYER NAME "girona" STATUS ON TYPE POLYGON DATA base MINSCALE 2600 METADATA WMS_TITLE "Base Girona" WMS_SRS "EPSG:23031" END PROJECTION "init=epsg:23031" END CLASS NAME "Girona" OUTLINECOLOR 128 128 128 COLOR 225 225 185 END END Disclaimer ************************************************************************ Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te informeren. Wij adviseren u om bij twijfel over de juistheid of de volledigheid van de mail contact met afzender op te nemen. This message shall not constitute any rights or obligations. This message is intended solely for the addressee. If you have received this message in error, please delete it and notify the sender immediately. When in doubt whether this message is correct or complete, please contact the sender. ************************************************************************
