Hi List,
Trying to confirm desired behaviour.

I was trying to use the Priority labelling feature 
(http://docs.geoserver.org/stable/en/user/styling/sld-reference/labeling.html#priority-labeling
 )

I have two polygons that overlap and want the label for one to take precedence 
over the other, so this seemed like the logical choice.

But it didn't work for any of my fields. Turns out, it only appears to work for 
INTEGER fields. I tried Double, BigDecimal, Date, and even String (ending in an 
int). None worked. It was only by rounding a BigDecimal that I managed to get 
Priority to work.

            <Priority>
              <ogc:Function name="round">
                <ogc:PropertyName>CLOUD_COV</ogc:PropertyName>
              </ogc:Function> 
            </Priority>

Is this expected behaviour? It's not documented as such.

Cheers,
Jonathan

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to