The additional rotation is proportional to the longitude in some
non-cylindrical cases (at least some conical and pole-centered stereographic
projections), so it's trivial for _some_ cases... .  :)  It's quite trivial
in some cylindrical projections.

Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com




-----Original Message-----
From: Andrea Aime [mailto:[email protected]] 
Sent: Tuesday, May 15, 2012 8:02 AM
To: Chris Haste
Cc: [email protected]
Subject: Re: [Geoserver-users] SLD Rotation

On Tue, May 15, 2012 at 12:09 PM, Chris Haste <[email protected]> wrote:
> Hi All,
>
>
>
> I have a question.. If I want to use the ESRI Weather font to display
> symbols that indicate wind speed and direction then that would appear to
be
> quite straight forward in a Cartesian projection as rotating the symbol to
> the value given for the wind direction will give the correct result.
>
>
>
> But I suspect, and this is my question, that when the background map is
> projected into, for example, a polar stereographic projection rotating the
> symbols via the SLD will give incorrect results.
>
>
>
> Could someone confirm this suspicion and maybe point me in the direction
of
> how to ensure that the TTF symbol rotation is always correct regardless of
> the projection?

Ha, interesting question indeed.
We don't have support to do that right now, someone would have to
write a new filter function to compute a "on map" azimuth given the
geographic one. Does not sound trivial, but I bet it's doable.

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
mob:    +39 339 8844549

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

----------------------------------------------------------------------------
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to