The invertQuery method in Rendering transformation processes is very useful
(in fact, essential).  But I've just realized a Catch-22 with it.

I need to expand the bounding box of the query (to capture more features
for accurate surface generation).  I want the user to be able to specify
the size of the expansion.  The obvious place to do this is in the process
parameters.  But - the invertQuery method is called *before* the parameters
are supplied to the execute method!  So for the first call at least, the
query is not expanded by the correct amount.  (The process class saves the
expandBy parameter in an instance variable, so subsequent calls operate
correctly).

Is there a better way to do this?

-- 
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to