Thanks Russell!

"
The result was very interesting, exactly what i was searching for! =)

I suspect you need to set the units of measure so the point is always for
example, 10 meters across.

Something like

https://wiki.state.ma.us/confluence/display/massgis/GeoServer+-+SLD+-+Units+of+Measure
"



2014-10-16 17:59 GMT-03:00 Danilo da Silveira Figueira <
[email protected]>:

>
>
> 2014-10-16 17:58 GMT-03:00 Danilo da Silveira Figueira <
> [email protected]>:
>
> Thanks Russell!
>>
>> The result was very interesting, exactly what i was searching for! =)
>>
>> 2014-10-16 16:41 GMT-03:00 Russell Hore (Amazon) <
>> [email protected]>:
>>
>> I suspect you need to set the units of measure so the point is always for
>>> example, 10 meters across.
>>>
>>> Something like
>>>
>>>
>>> https://wiki.state.ma.us/confluence/display/massgis/GeoServer+-+SLD+-+Units+of+Measure
>>>
>>> uom="http://www.opengeospatial.org/se/units/metre”
>>>
>>> Russ
>>>
>>> On 16 Oct 2014, at 20:26, Danilo da Silveira Figueira <
>>> [email protected]> wrote:
>>>
>>> > 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
>>>
>>>
>>
>
------------------------------------------------------------------------------
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