[Mapserver-users] Renderer within one layer

Eric Bridger eric at gomoos.org
Thu May 1 09:05:49 PDT 2003


There is a Perl mapscript and mapfile example here:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex14
which puts a plus symbol where the user clicked the map.  See
get_click() and $click_pt->draw().  This is a vector symbol, but a
pixmap pushpin symbol could be used.
Not sure how to do this with CGI mapserv.  

See:
http://mapserver.gis.umn.edu/doc36/mapfile-reference.html#class 
Layer 
  Class
    Expression  
for how to get different symbols to display based on attribute values.

Eric Bridger


On Thu, 2003-05-01 at 19:28, Tai Le wrote:
> Hello,
> I'm new to MapServer. I have some questions:
> - What is the best way to implement some kind of PushPin with MapServer? Is there any example available?
> - I want to display different symbols on the map from the same map layer (based on some query attributes). If any one knows the Renderer class from ESRI MapObject, that is what I would like to see on MapServer.
> Thanks for your help.
> 
> -- Tai.





More information about the MapServer-users mailing list