On Tue, Feb 28, 2012 at 11:32 PM, Martin Davis <mdavis@anonymised.com> wrote:
So these need to be defined as parameters to the RenderingTransformation
process, and then specified in the SLD with values provided by calls to the
"env" function?
Hmm... I think I like the invertQuery way better - more explicit, and fewer
lines of code for users to screw up.
I can see that having access to rendering parameters in the SLD could be
very useful, however.
In my mind a process is first and foremost a WPS process, its
rendering transformation
ability is something added on top, the process has to work even outside of
that rendering context (when called striaight from WPS the rendering
transformation
methods are _not_ going to get called).
A process that does vector to raster transformation obviously needs to know
how big the output raster will be, thus it needs to have some simple and
WPS bindable way to do that, the grid to world transformation is not a obvious
candidate there, width and height are more natural.
I see you are thinking about the process as something that makes sense
to be used only as a rendering transformation instead, so hopefully it
is not build as
a process (since you'd have around a WPS process that cannot be used)
but as a straight filter function?
I did not cover that use case, but if you want to propose API changes that
would make both approaches work I'm all ears
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
mob: +39 339 8844549
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
-------------------------------------------------------