[mapserver-users] Polygon layer does not cover labels
Sven Geggus
lists at fuchsschwanzdomain.de
Sat Jul 7 11:36:53 PDT 2012
Hello,
I have a mapfile which contains amongst other a labeled contour layer.
However these are not very acurate because they are derived from
SRTM. For this reason I render the ocean polygon layer above the contour
layer.
This works fine for the contours but does not seem to work for the
contour labels.
So the question is how to make the polygon layer opaque for labels.
Here are the relevant parts of my mapfile:
LAYER
TYPE LINE
NAME contours
PROCESSING "LABEL_NO_CLIP=ON"
...
STYLE
WIDTH 1.0
COLOR "#BE9E9E"
END
LABEL
ANGLE FOLLOW
REPEATDISTANCE 450
TYPE TRUETYPE FONT sc PARTIALS FALSE OUTLINEWIDTH 0
SIZE 8
COLOR "#996666"
END
END
END
LAYER
TYPE POLYGON
PROCESSING "APPROXIMATION_SCALE=FULL"
name ocean
...
CLASS
STYLE
COLOR "#579ae3"
END
END # of class
END
Regards
Sven
--
"The only thing we have to fear is fear itself" (Franklin D. Roosevelt)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web
More information about the MapServer-users
mailing list