@@ -92,7 +92,6 @@ public void testStoreRetrieve()
9292 bounds = 250000 ;
9393 }
9494 bounds /= 32.0 ;
95- System .err .println (bounds );
9695 for (double xTile = 0 ; xTile < xTiles ; xTile ++) {
9796 for (double yTile = 0 ; yTile < yTiles ; yTile ++) {
9897 try (IndexWriter <GridCoverage > writer = dataStore .createWriter (
@@ -140,7 +139,6 @@ public void testStoreRetrieve()
140139 obj .next ();
141140 i ++;
142141 }
143- System .err .println ("there are '" + i + "' tiles" );
144142 int grid [][] = new int [8 ][8 ];
145143 final GeoWaveRasterReader reader = new GeoWaveRasterReader (
146144 GeoWaveRasterConfig .createConfig (
@@ -234,15 +232,6 @@ else if (y <= 15) {
234232 expectedValue = expectedMinXMinYValue ;
235233 }
236234 expectedValue += b ;
237- System .err .println (String .format (
238- "Value=%d at x=%d;y=%d;b=%d" ,
239- img .getSample (
240- x ,
241- y ,
242- b ),
243- x ,
244- y ,
245- b ));
246235
247236 Assert .assertEquals (
248237 String .format (
@@ -262,38 +251,5 @@ else if (y <= 15) {
262251
263252 }
264253 }
265- for (int t = 7 ; t >= 0 ; t --) {
266- for (int s = 0 ; s < 8 ; s ++) {
267- System .out .print (grid [s ][t ] + " " );
268- }
269- System .out .print ('\n' );
270- }
271- try (CloseableIterator it = dataStore .query (
272- new QueryOptions (),
273- new EverythingQuery ())) {
274- int count = 0 ;
275- while (it .hasNext ()) {
276- count ++;
277- it .next ();
278- }
279- System .err .println (count );
280- }
281- try (CloseableIterator it = dataStore .query (
282- new QueryOptions (),
283- new IndexOnlySpatialQuery (
284- new GeometryFactory ().toGeometry (new Envelope (
285- -5000 ,
286- 5000 ,
287- -5000 ,
288- 5000 )),
289- CRS_STR ))) {
290- int count = 0 ;
291- while (it .hasNext ()) {
292- count ++;
293- it .next ();
294- }
295- System .err .println (count );
296- }
297-
298254 }
299255}
0 commit comments