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

Reply via email to