Dear Andrea, this is possibly my problem too. Could you please specify from which version Geoserver supports the system variable to control the max number of rules and where / in which file it is to add? I am using Geoserver 2.0.1 on Windows Server 2008.
With best wishes, Tilo From: Andrea Aime [mailto:[email protected]] Sent: Thursday, July 14, 2011 4:44 PM To: Thomas Klein Cc: [email protected] Subject: Re: [Geoserver-users] Problem with filters not passed through to custom datastore implementation On Thu, Jul 14, 2011 at 4:04 PM, Thomas Klein <[email protected]> wrote: Hi, I have a problem with my custom datastore implementation I have done for our own self made spatial database. The geoserver stops passing through filters which are longer than 20 elements (which is defined by the default value in org.geotools.renderer.lite.StreaingRenderer). The value could be passed to the StreamingRenderer by the DefaultRasterMapProducer but it always adds null to the renderinghints so the default value of 20 is used. Does anybody know if there is a possibility to set this value via configuartion without changing the code of the geoserver? I need all filters passed through to the datastore because I want to split the filters into pre- and post-filters (prefilters used at database level and postfilters used later with the simplefeatures). Recent versions of GeoServer have a system variable to control the max number of rules that the streaming renderer will use, add this to the JVM startup parameters: -DMAX_FILTER_RULES=xyz That should do if, if not, either your version of GeoServer is too old (the class you mention does not exist anymore in fact) or there is a bug in the code path that passes that information down, which could be quite possible, that flag is not documented, experimental stuff. 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 ------------------------------------------------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
