Hi there,
It is possible to do attribute binding on some elements but It was not
implemented for the Graphic symbol property name. I have added that
support in trunk. It is described in the bug 3586 [1].
You might want to add your name to that bug and comment on it.
regards,
[1]: http://trac.osgeo.org/mapserver/ticket/3586
On 25/10/2010 5:55 AM, Joaquín Rodriguez-Guerra Urcelay wrote:
Hello, I am trying to create a dinamic sld style for a shapefile in mapserver.
I come from geoserver, and I was wondering if there was any way to use
properties of the shapefile in the sld style, as in the example below where
points in the shapefile with tipo=3 are represented with a ship3.png rotated
COG deegrees. Is this possible in mapserver? Thanks for your help!
Rule
Titleship3/Title
ogc:Filter
ogc:PropertyIsEqualTo
ogc:PropertyNameTipo/ogc:PropertyName
ogc:Literal3/ogc:Literal
/ogc:PropertyIsEqualTo
/ogc:Filter
PointSymbolizer
Graphic
ExternalGraphic
OnlineResource
xlink:type=simple
xlink:href=ships/ship3.png /
Formatimage/png/Format
/ExternalGraphic
Size16/Size
Rotationogc:PropertyNameCOG/ogc:PropertyName/Rotation
/Graphic
/PointSymbolizer
/Rule
Joaquín Rodríguez-Guerra Urcelay
__
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
__
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
__
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Assefa Yewondwossen
Software Analyst
Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users