[mapserver-users] problem of legend icon for pixmap-filling type polygon layer
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Thu Feb 17 13:54:05 PST 2011
Which driver are you using (AGG or GD)? I'll run some tests here and report back... Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Isao NASUNO
Sent: Wednesday, February 16, 2011 11:20 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] problem of legend icon for pixmap-filling type polygon layer
Hello all,
I had send same question 2 weeks ago but I have no response,
so I try again with more detail of the problem.
** situation **
I'm trying to make pixmap-filled polygon maps and I did it without problem,
however a problem in getting legend.
I want legend icons by mapserver cgi with request "mode=legend" like following.
(base pattern) (what I want)
oxoxoxoxoxox
xoxoxoxoxoxo
oxox oxoxoxoxoxox
xoxo ------> xoxoxoxoxoxo
However I get following. It is like a legend icon of line layer.
oxox oxox
oxoxox oxoxo
oxoxoxoxoxoxo
oxoxo oxoxoxo
oxoxo oxoxo
xoxo xoxo
** version **
I'm using MapServer 5.0.2 on CentOS 5.2.
I also try MapServer 5.6.x (forgot for detail), but the situation is same.
** what I did **
The symbol is defined like ...
---------------------
SYMBOL
NAME "symbol1"
TYPE pixmap
image /somewhere/symbol1.gif
transparent 1
END
---------------------
The layer is as following...
---------------------
layer
name "jimon"
connectiontype postgis
connection "user=db password=xxxxxxx dbname=DB host=localhost port=5432"
data "the_geom from polygon"
status on
type polygon
classitem "id"
projection
"init=epsg:4326"
end
class
name "pattern1 "
expression "1"
style
symbol "symbol1"
end
end
:
end
---------------------
Could anyone please help me !?
Isao
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list