Author: mbedward
Date: 2009-07-06 22:52:47 -0400 (Mon, 06 Jul 2009)
New Revision: 33503
Modified:
trunk/modules/unsupported/process/pom.xml
trunk/modules/unsupported/process/src/test/java/org/geotools/process/raster/VectorToRasterProcessTest.java
Log:
added jai_core to pom hoping that tests will run in hudson build; removed unused code from VectorToRasterProcessTest
Modified: trunk/modules/unsupported/process/pom.xml
===================================================================
--- trunk/modules/unsupported/process/pom.xml 2009-07-07 01:13:56 UTC (rev 33502)
+++ trunk/modules/unsupported/process/pom.xml 2009-07-07 02:52:47 UTC (rev 33503)
@@ -138,6 +138,12 @@
<artifactId>gt-shapefile</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.media</groupId>
+ <artifactId>jai_core</artifactId>
+ <version>1.1.3</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
@@ -154,7 +160,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- ==== Switch commenting to skip tests = -->
- <skip>${allow.test.skip}</skip>
+ <!--skip>${allow.test.skip}</skip-->
<includes>
<include></include>
</includes>
Modified: trunk/modules/unsupported/process/src/test/java/org/geotools/process/raster/VectorToRasterProcessTest.java
===================================================================
--- trunk/modules/unsupported/process/src/test/java/org/geotools/process/raster/VectorToRasterProcessTest.java 2009-07-07 01:13:56 UTC (rev 33502)
+++ trunk/modules/unsupported/process/src/test/java/org/geotools/process/raster/VectorToRasterProcessTest.java 2009-07-07 02:52:47 UTC (rev 33503)
@@ -25,7 +25,6 @@
import java.awt.Point;
import java.awt.geom.Point2D;
import java.awt.image.RenderedImage;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.media.jai.iterator.RectIter;
@@ -40,8 +39,6 @@
import org.geotools.referencing.crs.DefaultGeographicCRS;
import org.junit.Ignore;
import org.junit.Test;
-import org.opengis.feature.Feature;
-import org.opengis.feature.FeatureVisitor;
import org.opengis.feature.simple.SimpleFeature;
import org.opengis.feature.simple.SimpleFeatureType;
import org.opengis.metadata.spatial.PixelOrientation;
@@ -202,18 +199,4 @@
System.out.println();
} while (!iter.nextLineDone());
}
-
- private static class Visitor implements FeatureVisitor {
-
- ArrayList<Integer> values = new ArrayList<Integer>();
- Point2D.Double pos;
-
- public void visit(Feature f) {
- SimpleFeature sf = (SimpleFeature)f;
- if (sf.getBounds().contains(pos.x, pos.y)) {
- values.add((Integer) sf.getAttribute("value"));
- }
- }
-
- }
}
\ No newline at end of file
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/blackberry_______________________________________________
GeoTools-commits mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-commits