[maplab-users] Grouping Layers
kgrootendorst at baird.com
kgrootendorst at baird.com
Thu Feb 3 15:28:00 EST 2005
List,
I'm trying to do something really simple: Group Layers.
I'm sure I have my code right, but the legend is still showing individual
layers.
Any ideas? Am I missing something really obvious?
MapLab 2.2
MS 4.4
php 4.3.4
win 2000
MAP
NAME "Test"
STATUS ON
EXTENT -92 40 -74 50 #NAD 83
#Minx Miny Maxx Maxy
SIZE 600 400
SHAPEPATH "./Data"
SYMBOLSET "./etc/symbols.sym"
FONTSET "./etc/fonts.txt"
IMAGETYPE PNG
UNITS DD
WEB
IMAGEPATH "C:/web/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
IMAGETYPE png #Specify this stuff for 24 bit rasters
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGB #PC256
EXTENSION "png"
END
PROJECTION
"init=epsg:4269" #NAD 83
END
LEGEND #LEGEND Parameters
STATUS ON
IMAGECOLOR 255 255 255
POSITION LL
KEYSIZE 18 12
KEYSPACING 5 5
END
SCALEBAR #SCALEBAR Parameters
STATUS EMBED
COLOR 255 255 255
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 0 0 0
IMAGECOLOR 255 255 255
UNITS KILOMETERS
INTERVALS 2
SIZE 120 2
STYLE 0
POSITION LL
END
LAYER
NAME "Great Lakes"
GROUP "Great Lakes"
STATUS On
DATA "./GreatLakes_NAD83.shp"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
CLASS
LABEL
TYPE BITMAP
FONT "arial"
SIZE tiny
POSITION CC
COLOR 0 0 0
END
STYLE
SYMBOL 0
COLOR 135 206 250
# OUTLINECOLOR 255 0 0
END
END
END
LAYER
NAME "Provinces"
GROUP "Base"
STATUS On
DATA "./Provinces.shp"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
LABELITEM "NAME"
CLASS
LABEL
TYPE BITMAP
FONT "arial"
SIZE tiny
POSITION CC
COLOR 0 0 0
END
STYLE
SYMBOL 0
COLOR 255 228 181
OUTLINECOLOR 0 0 0
END
END
END
LAYER
NAME "States"
GROUP "Base"
STATUS On
DATA "./States.shp"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
LABELITEM "STATE_NAME"
CLASS
LABEL
TYPE BITMAP
FONT "arial"
SIZE tiny
POSITION CC
COLOR 0 0 0
END
STYLE
SYMBOL 0
COLOR 193 255 193
OUTLINECOLOR 0 0 0
END
END
END
LAYER
NAME "Canada Municipalities"
GROUP "Canada Municipalities"
STATUS off
DATA "./Municipalities_ON_QC_MB_NAD83.shp"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
#LABELITEM "NAME"
CLASS
#TEMPLATE "ttt"
LABEL
TYPE BITMAP
FONT "arial"
SIZE tiny
POSITION CC
COLOR 0 0 0
END
STYLE
SYMBOL 0
OUTLINECOLOR 0 0 0
END
END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20050203/bc19847c/attachment.html
More information about the Maplab-users
mailing list