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:
 SELECT st_snaptogrid(st_force_2d(geometry), 4) AS snapped_geom,
count(geometry) AS count
   FROM table
  GROUP BY st_snaptogrid(st_force_2d(geometry), 4)
  ORDER BY count(timt_geometry) DESC;

"4" is replaced with appropriate one for wanted zoom lvl for first three
layers. High zoom lvl at end turn single object on (fourth layer).

There is no need to explain how to show items on specific zoom level in the
SLD file. That is well documented.

Regards,
Nikica
-- 
View this message in context: 
http://old.nabble.com/SLD-advanced-styling-problem-tp30929622p30958669.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to