That is all really interesting, are any of the other filter functions
suitable for use as operators?

These modules are still considered unsupported so procedure is pretty light
:)

--
Jody Garnett

On 25 January 2016 at 19:55, Justin Deoliveira <[email protected]> wrote:

> Hi folks,
>
> Recently I have been given the opportunity to resurrect some code I wrote
> a long time back. The code in question adds two processes (one vector, one
> raster) that breaks input data into a number of classes (ranges). For each
> range a count of features/pixels is calculated, in addition to a variety of
> statistical values such as mean, standard deviation, etc… Three
> classification techniques are utilized:
>
> 1. Equal Interval
> 2. Quantile
> 3. Natural Breaks
>
> Cutting right to the chase here is the pull request:
>
>   https://github.com/geotools/geotools/pull/1088
>
> I thought I would share some additional technical details to assist in the
> review.
>
> The vector side is the least interesting of the two because the process
> simple calls through to some FilterFunctions that have existed in the
> codebase for quite some time.
>
> The raster side is a bit more interesting. Basically I implemented a jai
> operation to do the classification. I should also note that this
> implementation pre-dates jai-ext (more on that below). The classifcation
> operation does the breaking of the input raster data into ranges. It does
> so by extending StatisticsOpImage.
>
> Once the classification is done the existing ZonalStats process is
> utilized to calculate the various statistics requested by the caller.  And
> that is pretty much it. Feedback welcome.
>
> A couple of notes about further improvements that I hope to make
> relatively soon.
>
> The first is probably a port of the operation to jai-ext. I started the
> initial work for this but it’s still a work in progress. I submitted a few
> patches to the project (which I am happy to report have been merged) so I
> can continue to make progress.
>
> The second which is shorter term will be a GeoServer pull request that
> adds support for calling the processes via the GeoServer WPS. Basically I
> just had to add a custom PPIO to serializes the custom results returned by
> the classification processes.
>
> That is about it. Eager to get some feedback.
>
> Thanks!
>
> -Justin
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to