[mapserver-users] Combine Layers
Worth Lutz
wal3 at mindspring.com
Fri May 23 14:04:13 PDT 2014
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: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Vogt, Robert
(RCIS)
Sent: Thursday, May 15, 2014 3:15 PM
To: 'mapserver-users at lists.osgeo.org'
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 | Robert.Vogt at RCIS.Com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140523/ad66e2ee/attachment.htm>
More information about the MapServer-users
mailing list