Another approach is to use the CSS module ..
http://docs.geoserver.org/latest/en/user/community/css/index.html
Read about '@scale' here ..
http://docs.geoserver.org/latest/en/user/community/css/filters.html
Regards,
David

2011/6/12 Anders Söderman <anders.soder...@gisassistans.se>

> Hello, I´m working with an SLD which have
> 13 different scale intervals from
> 0           – 1:750
> 1:750       – 1:1 500
> …
> to
> 1:1 536 000 –
>
> It would be very useful to be able to use the existing “GetMap request-
> scale” on the screen as an input to calculate my rendering parameters
> instead of having a huge SLD covering all 13 scaleintervals, each having
> many rules for text and about ten different area-intervals.
>
> Does GeoServer “know” the scale as a parameter which I can use or is it
> possible to calculate the scale within the SLD using BB and the size of the
> mapwindow, which I suppose GeoServer needs to know before sending back the
> GetMap result?
>
> My goal is to optimize the number of symbols being rendered in each polygon
> to have as few renderingsymbols as possible without leaving an area/polygon
> without a symbol within the polygon.
> Regards Anders Söderman Stockholm, Sweden
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to