mapscript-query results in different colors for different layers

Monica Socol monicasocol at CUESTASYS.COM
Mon Aug 23 08:48:23 EDT 2004


 
Hi everyone,
 
I am trying to construct a buffer
 As mapserver does not offer a
“classic” way of doing it, I have implemented the following steps:
- the user makes a selection first from a layer
- then enters the buffer distance and the target layer
- I take the extents of the selected features, and for each of them
calculate new extents by adding the buffer and make a new selection on
the target layer
- finally, I display both the initial selection + the selection from the
target layer.
 
It works, but in order to show the buffer, I would like to display the
selection in yellow, as defined into the QUERYMAP layer into the map
file, and the buffer in orange or any other color.
The problem is I didn’t find any way to change the color for QUERYMAP
on-the-fly using mapscript.
Is there any way of doing that?
 
Thank you very much for any ideas!
Monica
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040823/81ee3b7d/attachment.html


More information about the mapserver-users mailing list