It looks that your map file has too many "END" for each layer. Should be something like this:
LAYER NAME "Build" STATUS default TYPE line DATA "build" CLASS STYLE COLOR 0 0 0 END # ends style END # ends class END # ends layer I think the fourth END for the first LAYER ends the whole map file. M 2007/5/8, AMAL OMAR <[EMAIL PROTECTED]>:
Hi all, can any one tell me why some times cant display two layers at same time, I have done some example with no problem but when I tried display my vectors layers I couldn't * thank you Advice* this my map file: # This is our first map file NAME "cis1" SIZE 400 300 EXTENT 217500.00 3639400.03 217800.00 3639700.75 UNITS METERS #################################################### PROJECTION proj=longlat ellps=WGS84 datum=WGS84 no_defs END ###################################################### IMAGECOLOR 255 255 255 IMAGETYPE JPEG SHAPEPATH "/ms4w/home/mapdata/cis/" ##################################################### WEB TEMPLATE '/ms4w/var/www/htdocs/cis1.html' IMAGEPATH '/ms4w/var/www/htdocs/tmp/' IMAGEURL '/tmp/' END ###################################################### LAYER NAME "Build" STATUS default TYPE line DATA "build" CLASS STYLE COLOR 0 0 0 END END END END ###################################################### LAYER NAME "PBuild" STATUS default TYPE line DATA "build1" CLASS STYLE COLOR 0 255 0 END END END END ###################################################### LAYER NAME "public pbuilding" STATUS default TYPE line DATA "pbuilding" CLASS STYLE COLOR 255 0 0 END END END END END ------------------------------ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta.
