[mapserver-users] Re: Adding a buffer symbol
thomas bonfort
thomas.bonfort at gmail.com
Mon Dec 8 04:13:50 PST 2008
> At the moment I am just using the CGI mapserver. I was wondering if this can
> be done or ben achieved using Labels and symbols? but if needs be then I
> guess either javascript or php would be used to do this.
you could do that using a special layer in your mapfile, and using url
parameters to define the x,y of your click and the diameter of your
circle:
http://.....&map.layer[buffer]=FEATURE+POINTS+500000+1000000+END+END&map.layer[buffer].class[0].style[0]=SIZE+10
your "buffer" layer would be defined as
LAYER
TYPE POINT
NAME "buffer"
CLASS
STYLE
SYMBOL "circle" #circle symbol has FILLED FALSE
COLOR 255 0 0
END
END
END
regards,
thomas
More information about the MapServer-users
mailing list