Yes a mapfile can have multiple layers. They are drawn in the order given in the mapfile. The first would then be the base layer.
I hope this points you in the right direction. Worth Lutz _____ From: [email protected] [mailto:[email protected]] On Behalf Of Vogt, Robert (RCIS) Sent: Thursday, May 15, 2014 3:15 PM To: '[email protected]' Subject: [mapserver-users] Combine Layers I need to combine several .Map files that look like this. MAP IMAGETYPE PNG24 CONFIG "PROJ_LIB" "C:/Program Files/MapServer/projlib/" EXTENT -180 -90 180 90 SIZE 256 256 FONTSET "C:/Program Files/MapServer/content/fontset.txt" IMAGECOLOR 255 255 255 TRANSPARENT ON PROJECTION AUTO END LAYER NAME "WaterLn" TYPE LINE STATUS ON LABELCACHE ON PROCESSING 'LABEL_NO_CLIP=1' CONNECTIONTYPE PLUGIN PLUGIN "msplugin_mssql2008.dll" MAXGEOWIDTH .02 CONNECTION "server=stbisqlr3.dvcorp.rcis.com,5208;uid=Mapping01D;pwd=9GreenSnap#4D;Init ial Catalog=NATIONALDB;Integrated Security=False" DATA "shape(geography),FULLNAME from NATIONALDB.sde.Water_ln_vw USING UNIQUE WATER_LN_ID USING SRID=4269" LABELITEM "FULLNAME" CLASS STYLE COLOR 000 102 204 OUTLINECOLOR 102 178 255 WIDTH 2 END LABEL COLOR 000 153 000 TYPE TRUETYPE FONT Arial SIZE 12 ANTIALIAS FALSE POSITION AUTO PARTIALS FALSE MINDISTANCE 2000 MINSCALEDENOM 20.00 END END PROJECTION AUTO END END END Into a single .Map file with several layers under 1 base layer.is there a way to do this? Robert Vogt | Web Developer 4 | 3501 Thurston Ave, Anoka MN 55303-1060 | Mobile:763-229-8388 | [email protected]
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
