[Mapserver-users] Is it possible to display WMS layers as part of a GIF legend

Stephen Clark stephen.clark at focus.ca
Wed Mar 31 13:06:13 PST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_00A9_01C41720.F18B0A30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

For example I have the following layer an I want to add to a raster (png)
legend as per the attached image

How can I get the color of the raster WMS layer to display in the legend
correctly?

thanks
Stephen



### WMS BC GOV -- Trim II -- Water lines (1:20K)

LAYER

NAME wms_water_lines_20k

TYPE RASTER

STATUS ON

CONNECTIONTYPE WMS

CONNECTION
"http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.Esrimap?WMTVER=1.0.0&
ServiceName=wms26910&LAYERS=Water%20-%20Lines%20(1:20K)&FORMAT=PNG&TRANSPARE
NT=TRUE"


CLASS

NAME "Water - Lines (1:20K)"

#COLOR 145 0 124

END

METADATA

WMS_SRS "EPSG:26910"

WMS_TITLE "Water - Lines (1:20K)"

END

END

------=_NextPart_000_00A9_01C41720.F18B0A30
Content-Type: image/png;
	name="DEMOleg10807644933488.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="DEMOleg10807644933488.png"

iVBORw0KGgoAAAANSUhEUgAAAJwAAAAYCAIAAAH3/DNCAAAG8UlEQVR4nO1af0hTXxS/e7zGmu+t
qXPaCItBIkpBP5A1JFYRihZGiRiWf5jNEpR+90djDTKSkKCQkAjWX0ERovVHYtIfM0GW1JC3lCU5
JAfKHHPm2/ZanO8fp953PdtSv/W11M8f47xzz7nnnnvuj3PvnQwAyGJBLVpTqnzy5MmpqSm32z0z
MyORu379ejgcRtput69fv54QIlt0sxff5u80i4qKCCEymUwmkyFBCJmampqenkaBcDi8bt26r6X/
pZMXjR97OjQ09OzZM6TXrl2bkpIyMzNz/vx5bClCpDMyMsTfffv2EUJOnDixefNmQsjZs2dfv37N
sqzdbpfJZHV1dV+V4TcgJycnUVFPTw8A/Ek9vJKshsPhGzdu7Nmzp6ysrLOz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UyMjIoGl6dHS0vb19MXN1CSEI
gs/nW4RicXGxSK+gxHAFubpysIKSpZWD1aAuQ6wGdRniTwzq/K+TV/FD/Jag3r59e9euXUjPzs6y
LLtjx45Hjx4h59q1awcPHkyk63a7c3JyfmFj8NXuF1aYBNFoND8/f2JiAj+fP3+emZk51/qVK1cu
XrwYDoenp6erqqrE14eGhoaysrLZ2dnx8fH8/Hy73S5p/8TExJYtW44ePfr582dCSF9f3/79+3/Q
jl917JAgOzsbH6pPnTrV3Nzscrnw2BmJRBQKxYcPHwDAYDBcunRJEARBEGw2W1ZWFgBwHCe+cJaX
l9fW1vI87/f7jUajzWaDb4+cLS0tsVjs06dPP20JyidiImGz2WKxWFNTk16vT2J6cnKSpmmXyxWL
xWpqaurr6yXVGgwGvFQAAJ/Ph/cwyTvZYrEUFhYCgNfrJYSIHvX39+O7BNbg9Xr1en1lZaVE3Wq1
ig8XIn5XUB8/frx3716O4zZs2ICcmpqapqYmq9Xa2NgoyuTm5mo0GoPBUFFRgbEUgzo8PEwIUX+D
SqXCd5lE3cTEIZ4/n6CKzOSmAcDhcJSUlCgUCr1eL8YP4fF4CCGCIPzUOgAIgtDY2KjVal+9eoWc
sbGxJEHFa7WSkhKj0RhvYmBgQKlUSir/jbcPBQUFmzZtam9vx89gMJiVlZWWloY3fD6fj6IonM0e
j8doNGKPDA8PUxQViUTQB7PZzPN8KBQ6fPjwgQMHIHE3JQLKf4xDMBhMHtQkpmmaxqvD1tZWvCIV
wfM8RVEjIyNzrUuadOHChYqKCkn4AcBsNpeUlIRCoY8fP+bl5d2/f39uDd3d3RRFieOpo6Nj7r96
/o4rpb8FbW1t5eXl/6fF3Nzc/v5+CXM1qL8Y3d3d+CLwP8BkMmF2IsHqNeEyxD/u2fu9eiNhvQAA
AABJRU5ErkJggg==

------=_NextPart_000_00A9_01C41720.F18B0A30--




More information about the MapServer-users mailing list