Hello, I have a mapfile with several layers that use ogr resources. When I request 1 of these layers, they return a image with both the layers presented. Is this a bug or am I doing something wrong in the mapfile? This is the part of that mapfile:
...... ...... #------- # # layera #------- LAYER NAME "station_tt" DEBUG 5 STATUS DEFAULT TYPE POINT METADATA "wms_enable_request" "*" "gml_include_items" "all" "wms_feature_info_mime_type" "html" END #METADATA CONNECTIONTYPE OGR CONNECTION "mysql-tt.ovf" DATA "tt_data" LABELITEM 'val_tt' LABELCACHE OFF CLASS NAME "ttClass" STYLE SYMBOL 'circle' SIZE 10 COLOR 215 0 76 END #STYLE LABEL POSITION UC FONT sans TYPE TRUETYPE TEXT ( tostring([val_tt],"%.1f")+" C") COLOR 0 0 0 OUTLINECOLOR 255 255 128 SIZE 7 END #LABEL END #CLASS DUMP TRUE END #LAYER END #------------------------------------------------- # # layerb #------------------------------------------------- LAYER NAME "station_rh" DEBUG 5 STATUS DEFAULT TYPE POINT METADATA "wms_enable_request" "*" "gml_include_items" "all" END CONNECTIONTYPE OGR CONNECTION "mysql-rh.ovf" DATA "rh_data" LABELITEM 'val_rh' LABELCACHE OFF CLASS NAME "rhClass" STYLE SYMBOL 'circle' SIZE 10 COLOR 215 0 76 END LABEL POSITION LC FONT sans TYPE TRUETYPE TEXT ( tostring([val_rh],"%.0f")+"%") COLOR 0 0 0 OUTLINECOLOR 255 255 128 SIZE 7 END #LABEL END #CLASS DUMP TRUE END #LAYER ----------------------------------------- END # MAP -- View this message in context: http://osgeo-org.1560.x6.nabble.com/2-layers-shown-when-1-requested-tp5083367.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users