I'm very very new to SLD (just read some documentation so far) and now I
need to create a SLD that activate and deactivate a layer according to the
zoom level.
I have a layer (points) with more than 18.000 points just in a small area
(around 20 km wide).
On Wed, Jun 16, 2010 at 7:23 PM, giraam <sdjbm17@anonymised.com> wrote:
Hi people,
I'm very very new to SLD (just read some documentation so far) and now I
need to create a SLD that activate and deactivate a layer according to the
zoom level.
I have a layer (points) with more than 18.000 points just in a small area
(around 20 km wide).
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks for your reply! I found that solution too but I have a little doubt
about it.. The example shows how to change the <PointSymbolizer> according
to the zoom level but would I be able to deactivate and activate layers just
like that? I mean, I trying to NOT make a request to the server when I do
not need the points at certain zoom level in order to have a faster response
and obviously a relevant information too!
I'm still thinking about SLD as a CSS file and maybe I'm wrong!
Thanks again..!
Imran_Rajjad wrote:
Hi,
You can show and hide faetures in side the layer according to scales.
Did you try using Scale Denomiators?
you might find your answer here ..scroll down to the zoom based point part
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
On Wed, Jun 16, 2010 at 10:53 AM, giraam <sdjbm17@anonymised.com> wrote:
Thanks for your reply! I found that solution too but I have a little doubt
about it.. The example shows how to change the <PointSymbolizer> according
to the zoom level but would I be able to deactivate and activate layers just
like that? I mean, I trying to NOT make a request to the server when I do
not need the points at certain zoom level in order to have a faster response
and obviously a relevant information too!
That is the clients responsibility - there is no way GeoServer can
work out that you shouldn't make a request to it depending on your
style.
You will need to ask this question on the user list of whatever client
you are using.
I'll ask on OpenLayers users forum! Thanks you all for your answers!
Ian Turton wrote:
That is the clients responsibility - there is no way GeoServer can
work out that you shouldn't make a request to it depending on your
style.
You will need to ask this question on the user list of whatever client
you are using.
Ian
--
Ian Turton
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks for your reply! I found that solution too but I have a little
doubt
about it… The example shows how to change the
according
to the zoom level but would I be able to deactivate and activate layers
just
like that? I mean, I trying to NOT make a request to the server when I do
not need the points at certain zoom level in order to have a faster
response
and obviously a relevant information too!
That is the clients responsibility - there is no way GeoServer can
work out that you shouldn’t make a request to it depending on your
style.
You will need to ask this question on the user list of whatever client
you are using.
Ian
Ian Turton
ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo