On Fri, Sep 16, 2011 at 2:43 PM, Harikumar Reddy <[email protected]>wrote:
> Hi GS users,
>
> Current SLD of bridge in Geoserver is looking like in attached
> screenshot. How can i display bridge symbol with respect to road angle
> orientation on road features.
>
Hmm... this would be a sort of cross-layer interaction, "take the angle of
the closest line in that other layer".
With the current code it is definitely not possible, but we already coded up
some sort of cross layer
functionality (
http://geo-solutions.blogspot.com/2011/02/developer-corner-cross-layer-filtering.html
),
so it would be possible by developing code.
As an alternative you can do the processing by yourself in your preferred
tool/programming language
and store the angle in an attribute, say "ANGLE", whose value should be in
degrees, and then
refer that attribute from the SLD:
<Rotation><PropertyName>ANGLE</PropertyName></Rotation>
Hope this helps
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users