svn - r34336 - trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info

1 message Options
Embed this post
Permalink
svn_geotools

svn - r34336 - trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info

Reply Threaded More More options
Print post
Permalink
Author: groldan
Date: 2009-11-05 12:48:36 -0500 (Thu, 05 Nov 2009)
New Revision: 34336

Modified:
   trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info/RasterUtils.java
Log:
fix 1-bit raster's colormodel

Modified: trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info/RasterUtils.java
===================================================================
--- trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info/RasterUtils.java 2009-11-05 17:33:34 UTC (rev 34335)
+++ trunk/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/raster/info/RasterUtils.java 2009-11-05 17:48:36 UTC (rev 34336)
@@ -336,8 +336,8 @@
         assert noDataValue == 2;
 
         final int FALSE = ColorUtilities.getIntFromColor(255, 255, 255, 255);
-        final int TRUE = ColorUtilities.getIntFromColor(255, 0, 0, 255);
-        final int NODATA = ColorUtilities.getIntFromColor(0, 255, 0, 255);
+        final int TRUE = ColorUtilities.getIntFromColor(0, 0, 0, 255);
+        final int NODATA = ColorUtilities.getIntFromColor(255, 255, 255, 0);
 
         final int mapSize = 3;
         int[] cmap = new int[mapSize];


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoTools-commits mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-commits