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, and the
correct value for each point when i zoom in.
Sincerly,
Emmanuel
Le 03/06/2011 14:55, geowolf [via OSGeo.org] a écrit :
> On Fri, Jun 3, 2011 at 2:04 PM, Emmanuel REUTER
> <[hidden email] </user/SendEmail.jtp?type=node&node=6435147&i=0>> 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 explanation
> >
> (http://geo-solutions.blogspot.com/2011/01/developers-corner-have-your-sld.html)
>
>
> > byt unable to understant how to do it! Can you post me a simple
> example to
> > try to achieve my solution ?
>
> Rendering transformations are still quite in flux, they are available
> only on the
> unstable GeoServer series (trunk) and the only documentation we have
> right
> now is this proposal:
> http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
> If you are a proficient java developer get the geotools sources and look
> at how the transformation is applied in the StreamingRenderer class.
> Alternatively you can wait or ask a commercial support company to do some
> development for you, there are links in geoserver.org
>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's
> about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Geoserver-users mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=6435147&i=1>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://osgeo-org.1803224.n2.nabble.com/SLD-advanced-styling-problem-tp6108561p6435147.html
>
>
> To unsubscribe from SLD advanced styling problem, click here
> <http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6108561&code=ZW1tYW51ZWwucmV1dGVyQGlmc3R0YXIuZnJ8NjEwODU2MXwtMjEyNTQ1Mzc4MA==>.
>
>
--
------------------------------------------
Emmanuel REUTER
IFSTTAR - Sous-direction des systèmes d'information et ressources informatiques
25, Avenue François Mitterrand - Case 24 - 69675 BRON CEDEX
Tél. : (+33) 04.72.14.25.54 (poste 25.54)
------------------------------------------
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/SLD-advanced-styling-problem-tp6108561p6444643.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users