Yes, I will create the JIRA, Simone.  I am just seeing this today as I have
been away for a few days unexpectedly, so it may take just a bit to do so.

>From my initial effort, my early recommendation would be to have this
available as some type of rendering transformation instead of implementing
it for all layers coming from the WMS.  This would allow someone to "turn
on" and "turn off" the interpolation.  That describes the (very simple)
code I have been playing with.  I will attach that to the JIRA when I
create it.

Thanks,

Mike


On Thu, Apr 24, 2014 at 6:58 AM, Simone Giannecchini <
[email protected]> wrote:

> Ciao Mike,
> I am interested in fixing this for good.
>
> As Andrea pointed out it some effort is required, however I believe
> this is strategic for GeoServer to properly render environmental data
> with high order interpolation. As such, could you create a jira for
> this problem and make available the code you are playing with?
>
> Next week I will talk to the guys in the office and come up with a
> tentative plan to fix this on master.
> Thanks for taking the time to look into this.
>
>
>
> Regards,
> Simone Giannecchini
> ==
> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
> for more information.
> ==
>
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 333 8128928
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>
> On Fri, Apr 18, 2014 at 3:38 PM, Mike Grogan <[email protected]>
> wrote:
> > [For some reason, SourceForge has again posted my response as a blank /
> > empty message.  So, I am just submitting this again for the record, in
> case
> > someone else is researching this in the future.  Sorry for any double
> > e-mails to those subscribed to the list].
> >
> > Thanks for confirming my suspicions.  I know there would be some
> development
> > work, but I hope you agree the interpolation should really be done on the
> > data, not the resulting RGB image.  As Jody pointed out, this is really
> what
> > you want for elevation data, etc.  Should I / may I open a JIRA as a
> Feature
> > Request just to log this for the future?
> >
> > In the interim, I have been able to accomplish this, at least
> tentatively,
> > for my own purposes and want to see if you see any holes in my approach:
> >
> > Here is output from GeoServer ... and you can compare to my previous
> screen
> > shots in this thread:
> >
> > http://i.imgur.com/twqDa0r.png
> > http://imgur.com/twqDa0r
> >
> > You'll notice this is the Arc_Sample precip layer with the DATA
> > interpolated, instead of the IMAGE.
> >
> > Thus far, I have implemented this as a Custom Rendering Transformation
> WPS
> > that does the following:
> >
> > 1.  Takes a GridCoverage2D along with output bounding box, width, and
> height
> > as parameters.
> > 2.  Crops the input GridCoverage2D to the output bounding box.
> > 3.  Scales (within limits) the cropped GridCoverage2D based on its size
> > compared to the size of the output width/height.
> > 4.  Applies Bilinear interpolation while scaling in #3.
> > 5.  Returns a scaled and bilinear interpolated GridCoverage2D to which a
> > ColorMap is then applied in the SLD.
> >
> > Any major holes in my approach?  Things to consider or check?
> >
> > Obviously I want to add some more input validation, etc.
> >
> > One immediate thing I see is the need to perhaps crop a little larger
> than
> > my output BBOX so I don't see issues with discrepancies along tile
> > boundaries.
> >
> > Something else I thought of is that the WPS-style approach also lets
> people
> > choose a per-layer WMS interpolation method, as has been requested in
> other
> > threads.
> >
> > Thanks,
> >
> > Mike Grogan
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/NeoTech
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to