Hi Edward,
Thankyou for the guidance.
I have used a graphic for Bridge point, but not consists of several line
geometries (in our data bridges are surveyed and it is a point feature
layer). I am interested to covert symbol into typeface, but the irientation
problem will reappear again like now i am facing.
Right now, Andrea's idea has solved my problem (calculating angle in one
column and using it in SLD to rotate bridge symbol perfectly with respect to
roads orientation angle)., but if we have country data with 5000+
bridges...its a big task.
So i am thinking & searching for other alternatives too.
Thanks & Regards,
Hari.
On Sun, Sep 18, 2011 at 5:49 AM, Edward Mac Gillavry <
[email protected]> wrote:
> 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 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
>
------------------------------------------------------------------------------
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