Re: [Geoserver-users] SLD advanced styling problem

2011-06-06 Thread Emmanuel REUTER
Dear andrea, i've found a solution without any java development. In fact, i create two SQL view of my data, define two style witch discriminate the two layers. By using the MaxScaleDenominator and/or MinScaleDenominator, i'm able to show the count of all element when the whole map is showned,

Re: [Geoserver-users] SLD advanced styling problem

2011-06-03 Thread Emmanuel REUTER
Hi, i'm in the same trouble, not with hospital, but with network switches and i would like to count power consum when the zoom is large and show it for each switch when the zoom is closer. I try to read the explanation

Re: [Geoserver-users] SLD advanced styling problem

2011-06-03 Thread Andrea Aime
On Fri, Jun 3, 2011 at 2:04 PM, Emmanuel REUTER emmanuel.reu...@ifsttar.fr wrote: Hi, i'm in the same trouble, not with hospital, but with network switches and i would like to count power consum when the zoom is large and show it for each switch when the zoom is closer. I try to read the

Re: [Geoserver-users] SLD advanced styling problem

2011-02-19 Thread Andrea Aime
On Tue, Feb 15, 2011 at 1:13 PM, bude nikica.budi...@amphinicy.com wrote: Hi, Can someone help me with SLD. I have problem to group elements when map is zoomed to small zoom and represent them. Just for example: Let say that we have N hospitals on some area. When zoom level is set to show

Re: [Geoserver-users] SLD advanced styling problem

2011-02-18 Thread bude
Hi Ben, That is how i wanted to bypass the problem at the start. I created 3 layers with different tiling range. Every tile counts number of object inside. In relation to zoom lvl, layers are toggled and represented with different size icons and count number as text label. SLQ for view:

Re: [Geoserver-users] SLD advanced styling problem

2011-02-15 Thread Benjamin Mearns
Have not done this myself: you could make a new layer from a SQL view that groups points by proximity and then show this (and not the one with all the points) when you're zoomed out to a particular scale. I'm not sure what the query to make that view would look like ... would definitely need to be