Hello all,

We have recently upgraded to version 2.2.3 and as a result some of our SLD's 
which use the IEEERemainder function no longer work. Having had a quick search 
I can see that there is a bug report listed for this back in Oct-2012 (we are 
also using an SQL layer from a PostGres DB)

We don't want to rollback to the 2.1 version so I'm hoping someone can suggest 
a work around for me.

We use the IEEERemainder function to thin out the displayed information from a 
dataset that represents a regular grid of points. We do things like this (in 
CSS):
/*Longitude and Latitude represent the coordinates of the temperature value */
[@scale>75000000][IEEERemainder(longitude, 7.5) = 0][IEEERemainder(latitude, 
7.5) = 0]{
  label:[numberFormat('P#;#',temperature)];
  font-size:8;
}

[@scale>45000000][@scale<75000000][IEEERemainder(longitude, 6.25) = 
0][IEEERemainder(latitude, 6.25) = 0]{
  label:[numberFormat('P#;#',temperature)];
  font-size:9;
}

[@scale>20000000][@scale<45000000]
[IEEERemainder(longitude, 3.75) = 0][IEEERemainder(latitude, 3.75) = 0]{
  label:[numberFormat('P#;#',temperature)];
  font-size:9;
}

Etc.

This has the effect of thinning out the displayed information at the higher 
scales.

Does anyone have a better suggestion/solution for this without using the 
IEEERemainder function?

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

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to