Re: need write many rules because of scaleDenominator in sld

Hi all,
I have small question about writing sld. I need to implement
MaxScaleDenominator but only for changing of font-size. But I have to write
long rule for styling my labels. So if I want to use scaleDenominator I have
to write this rule whole again and again and again and again... only with
one change, change of font-size.

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

Re: need write many rules because of scaleDenominator in sld

vrbikdan <vrbikdan <at> gmail.com>
2012-06-01 08:57:29 GMT

Thanks for suggestion, but for labels it does not exactly what I need but it
is good to know for sizing other stuffs.
Let suppose, that I need to change another thing as color, font-family or if
I will use some filter for making choropleth map where only thing I need to
change is fill color. But always only one or two things in rule. Is it some
easy way to do this?
Sorry for my questions, I'm trying to make my work easier :)
Dan
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/need-write-many-rules-because-of-scaleDenominator-in-sld-tp4978460p4978483.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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/

Re: need write many rules because of scaleDenominator in sld

Thanks for suggestion, but for labels it does not exactly what I need but it
is good to know for sizing other stuffs.

Let suppose, that I need to change another thing as color, font-family or if
I will use some filter for making choropleth map where only thing I need to
change is fill color. But always only one or two things in rule. Is it some
easy way to do this?

Not in SLD. You may want to have a look at the CSS module instead, it

uses the cascading concept to avoid repeating everything for the various

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

Thanks for suggestion, but for labels it does not exactly what I need but it
is good to know for sizing other stuffs.

Let suppose, that I need to change another thing as color, font-family or if
I will use some filter for making choropleth map where only thing I need to
change is fill color. But always only one or two things in rule. Is it some
easy way to do this?

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

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

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