[mapserver-users] Combine Layers
Vogt, Robert (RCIS)
Robert.Vogt at rcis.com
Thu May 15 12:14:54 PDT 2014
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;Initial 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 | Robert.Vogt at RCIS.Com<mailto:Robert.Vogt at RCIS.Com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140515/41bf9bfb/attachment.htm>
More information about the MapServer-users
mailing list