Add checkEmptySourceRegion utility method to CoverageUtilities
--------------------------------------------------------------
Key: GEOT-3040
URL: http://jira.codehaus.org/browse/GEOT-3040
Project: GeoTools
Issue Type: Wish
Components: core coverage
Affects Versions: 2.6.3
Reporter: Daniele Romagnoli
Fix For: 2.6.4
Attachments: gt-coverage.patch
There are several coverage plugins (as an instance: imagemosaic, jp2k,
imageio-ext-gdal, ...) which have an Utilities class containing a method which
check if a provided dimensions, when intersected with a source region of an
ImageReadParam instance, does not result in an empty rectangle. Moreover, in
case the region intersection is not empty, it set that as the new source region
for the ImageReadParam.
It would be great to have that method shared in a common Utilities class.
Best choice for this is the CoverageUtilities class in the Coverage module.
The attached patch will allow for this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel