I have a problem with the Styling for the contour-lines. here is how I want to style them:
- 4 different classes with different display zoom
MaxScaleDenominator
. - The interval is a variable (not fixed) based on user what to choose.
- most important is Rule number 4 that shows all the contour-lines with the elevation higher than 500, but the most important part is, I don't want to show all bands(all lines) just each 5 band.(leads us to render fewer lines on the map, that is why I used the
IEEERemainder
).
But simply it doesn't work with the tag PropertyIsGreaterThan
but it works with the PropertyIsEqualTo
tag, but this tag problem is, doesn't work with interval ex. 43
.
Is there any solution to fix it or another approach for my purpose?
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
CL
CL
CL
rule 1
CL (all)
40000
#006600
1
rule 2
CL (50)
value
50.0
0
value
50
200
120000
#8600b3
1
rule 3
CL (200)
value
200.0
200
500
150000
#3366ff
1
Rule 4
CL (500)
value
500.0
0
#ff0000
1
No comments:
Post a Comment