Revision 3006

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/ShpStrategy.java
274 274
        FLyrVect lyr = (FLyrVect) capa;
275 275
        if (lyr.getSpatialIndex() == null)
276 276
            return super.queryByShape(g, relationship);
277

  
277
        
278
        long t1 = System.currentTimeMillis();
278 279
        VectorialAdapter va = lyr.getSource();
279 280
        ICoordTrans ct = lyr.getCoordTrans();
280 281
        Rectangle2D bounds = g.getBounds2D();
......
316 317
                    break;
317 318

  
318 319
                case DISJOINT:
320
                    // TODO: CREO QUE EL DISJOINT NO SE PUEDE METER AQUI
319 321
                    m = jtsShape.relate(jtsGeom);            
320 322
                    if (m.isDisjoint()) {
321 323
                        bitset.set(index, true);
......
368 370
            // TODO Auto-generated catch block
369 371
            e.printStackTrace();
370 372
        }
373
        long t2 = System.currentTimeMillis();
374
        logger.debug("queryByShape optimizado sobre la capa " + lyr.getName() + ". " + (t2-t1) + " mseg.");
371 375
        return bitset;
372 376
    }
373 377
    public FBitSet queryByRect(Rectangle2D rect) throws DriverException {

Also available in: Unified diff