Andrea,

Sounds like a plan! Didn't quite realise the bridge symbol was on a different 
point geometry layer separate from the line geometry layer... Then again, I 
have seen data sets where the bridge symbol is not one symbol on a point 
geometry, but where the bridge symbol actually consists of several line 
geometries.

Regards,

Edward

Date: Fri, 16 Sep 2011 20:00:52 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Geoserver-users] SLD graphic angel orientation with respect to    
road

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 languageand 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                    
                  
------------------------------------------------------------------------------
BlackBerry&reg; 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

Reply via email to