Hello!
On Thursday, 22 September 2011 at 3:04 PM, Michael Bedward wrote:
> Hi Jody, Andrea,
> 
> I'm looking at the raster processes in relation to a couple this issue:
> 
> http://jira.codehaus.org/browse/GEOT-3855
> 
> which then inspired this one:
> 
> http://jira.codehaus.org/browse/GEOT-3857
> 
> I'd like to check if either of you have any problems with GEOT-3857
> going ahead ?
As long as the functionality is actually available as 
"PolygonExtractionProcess" then there is no problem removing that class. We 
will need to update the code examples in docs however .... as right now they 
use RasterToVectorProcess as an example?
> More generally, I wonder if there is any need to have a separate
> process.raster.gs (http://process.raster.gs) package ? I plan to add a vector 
> to raster function
> to jaitools (see http://jira.codehaus.org/browse/GEOT-3121 and
> http://code.google.com/p/jaitools/issues/detail?id=191) which would
> allow the existing VectorToRasterProcess class to be replaced. Once
> that is done the process.raster package will be empty.
That still leaves a lot of processes in org.geotools.process.raster.gs 
(http://org.geotools.process.raster.gs):

AddCoveragesProcess.java
AreaGridProcess.java
ContourProcess.java
CropCoverage.java
MultiplyCoveragesProcess.java
PolygonExtractionProcess.java
RangeLookupProcess.java
RasterAsPointCollectionProcess.java
RasterZonalStatistics.java
ScaleCoverage.java
StyleCoverage.java


Perhaps I don't understand your question? 
> Another question, the process.raster.gs (http://process.raster.gs) classes 
> don't have a static
> process method. Is this a design decision ? I haven't caught up with
> the new API yet but perhaps it removes the need for static helper
> methods for direct use - is that the case ?
I don't mind if we add the static methods; it was not done yet as it is not 
required by the interface (only a convention we made to make it easier for 
people to use quickly).

Have a look at ProcessTutorial class; the static methods should be created most 
of the time now (with more than one process per class).

Jody
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to