This can be accomplished using SLD. In a WMS GetMap request you can add an inline SLD using the SLD_BODY parameter, or use the SLD parameter to point to a URL pointing to the actual SLD XML document.

The Chameleon ExpressionBuilder widget has some code to do this or check out:

http://mapserver.gis.umn.edu/docs/howto/sldhowto/?searchterm=SLD

If a WMS layer is queryable, you can perform a WMS GetFeatureInfo request against it using an X and Y value in pixels, which can return a plain text, HTML or GML document.

Best regards,
Bart

rock well wrote:

Hi all, i have a question in WMS, can a polygon be hightlighted in a map in wms server, like can anything be included in the url that makes a certain polygon marked, for example i want the border of the polygon to be highlighted .... i was able to do it in mapscript but was wondering if the same thing can be done in WMS ... one more thing, i am not pretty sure what query layer does in wms ... Thanks for your time
kris

Want to be your own boss? Learn how on Yahoo! Small Business. <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index>



--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

Reply via email to