Hi Danilo, we are using a python script to generate SLDs that fit those needs (generating a big sld using many rules of course). If you find abetter way let me know.
Marco Am 16.10.2014 um 21:26 schrieb Danilo da Silveira Figueira: > Hi All, > > I am trying to create a Style that resize the Points according to Zoom > level. > The problem is that the circle size isn´t changing, what i am doing wrong? > > Ps: I don´t want to use the MaxScaleDenominator because i don't want > to re-write each rule just for changing the scaleDenominator. > > My featureStyle is the following: > <FeatureTypeStyle> > <Name>Geometry [Point]</Name> > <Rule> > <Name>rule1</Name> > <Title>Red Circle</Title> > <Abstract>Simple Point</Abstract> > <PointSymbolizer> > <Graphic> > <Mark> > <WellKnownName>circle</WellKnownName> > <Fill> > <CssParameter name="fill">#FF0000</CssParameter> > </Fill> > </Mark> > <Size> > <ogc:Function name="if_then_else"> > <ogc:Function name="lessEqualThan"> > <ogc:Function name="env"> > <ogc:Literal>wms_scale_denominator</ogc:Literal> > </ogc:Function> > <ogc:Literal>3000000</ogc:Literal> > </ogc:Function> > <ogc:Literal>2</ogc:Literal> > <ogc:Literal>1</ogc:Literal> > </ogc:Function> > </Size> > </Graphic> > </PointSymbolizer> > </Rule> > </FeatureTypeStyle> > > Thanks. > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > > > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users
0x6A30F373.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
