[Schmitzm-commits] r30 - in trunk: dist src/schmitzm/geotools/grid
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Mar 20 15:41:46 CET 2009
Author: mojays
Date: 2009-03-20 15:41:42 +0100 (Fri, 20 Mar 2009)
New Revision: 30
Modified:
trunk/dist/schmitzm-src.zip
trunk/dist/schmitzm.jar
trunk/src/schmitzm/geotools/grid/GridUtil.java
Log:
Bug in GridUtil.getOverlappingCells(..) fixed
Modified: trunk/dist/schmitzm-src.zip
===================================================================
(Binary files differ)
Modified: trunk/dist/schmitzm.jar
===================================================================
(Binary files differ)
Modified: trunk/src/schmitzm/geotools/grid/GridUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/grid/GridUtil.java 2009-03-11 12:27:46 UTC (rev 29)
+++ trunk/src/schmitzm/geotools/grid/GridUtil.java 2009-03-20 14:41:42 UTC (rev 30)
@@ -857,9 +857,9 @@
cellBounds[1].y = y;
cellBounds[2].x = x+cellWidth;
cellBounds[2].y = y+cellHeight;
- cellBounds[2].x = x;
- cellBounds[2].y = y+cellHeight;
- cellBounds[3] = cellBounds[0];
+ cellBounds[3].x = x;
+ cellBounds[3].y = y+cellHeight;
+ cellBounds[4] = cellBounds[0];
if ( g.intersects(geomFac.createLinearRing(cellBounds)) ) {
int[] cell = convertRealToRaster(gc, x, y);
switch ( sampleType ) {
More information about the Schmitzm-commits
mailing list