I'm working on a GSProcess which is being used as a
RenderingTransformation, to produce a GridCoverage output. I want to
create the output grid with the size of the image requested. To do this I
need to keep the GridGeometry provided in the invertQuery() method for
later use in the execute() method.
At first I did not realize that the Process object was instantiated by the
SLD, and so all instance state is not local to each request. In order to
create request-specific state (i.e. to keep the GridGeometry in) I have had
to create a ThreadLocal class and use it.
This seems like a bit of a hack, and is slightly obscure. Is there any
better way of doing this? Or any plans to provide a simpler alternative?
--
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