I agree that would be the perfect solution… unfortunately it is not the way 
works today ☹

No dirty workaround ? damned…

Regards,

Laurent

De : andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] De la part de Andrea 
Aime
Envoyé : mercredi 6 août 2014 12:24
À : PREVOSTO, Laurent
Cc : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Limiting rendering for large resultsets

On Wed, Aug 6, 2014 at 11:39 AM, PREVOSTO, Laurent 
<laurent.prevo...@sfr.com<mailto:laurent.prevo...@sfr.com>> wrote:
Hello,
We have geoserver based WMS services that display a quite large network (lots 
of points and polylines stored in an Oracle Spatial database).

When in the cities, the number of items can be very large
In the countryside, of course, the density of polylines is quite low.

If I try to render  a whole city, since there are too many items to render, the 
request will timeout.

You can increase the max rendering time in the WMS panel

But if I set a scale condition to avoid drawing thousands of lines when in a 
large city, users complain that they can’t find the cables when in the 
countryside…

So my question was : is there a way to tell geoserver to render a blank image 
if there are more than n items in the Oracle resultset ?
That way, I could keep a large scale in my TLD without going timeout in areas 
where there is a high density of items.

No, there is no such functionality. It is of course possible to add it, but 
we'd need to make
an extension to SLD, the limit would have to be specified at the 
FeatureTypeStyle or Rule levels

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to