You are correct-assuming a simple rotation will be incorrect.  This is true
for many projections, but quite noticeable in polar stereographic.
Fortunately, the solution is easy-your additional rotation factor is (if
memory serves me) equal to your longitude at a given location.  So at the
prime meridian, your additional rotation factor is 0 (wind direction angle +
0 degrees), and at the other side of the world, your additional rotation
factor is 180 (wind direction angle + 180 degrees).

 

 

Best,

Steve

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

[email protected]
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

From: Chris Haste [mailto:[email protected]] 
Sent: Tuesday, May 15, 2012 6:09 AM
To: [email protected]
Subject: [Geoserver-users] SLD Rotation

 

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?

 

Thanks

 

Chris

 

*** This communication has been sent from World Fuel Services 
Corporation or its subsidiaries or its affiliates for the intended recipient

only and may contain proprietary, confidential or privileged information. 
If you are not the intended recipient, any review, disclosure, copying, 
use, or distribution of the information included in this communication 
and any attachments is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to this 
communication and delete the communication, including any 
attachments, from your computer. Electronic communications sent to or 
from World Fuel Services Corporation or its subsidiaries or its affiliates 
may be monitored for quality assurance and compliance purposes.***

<<image001.png>>

------------------------------------------------------------------------------
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