Revision 223 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.union/src/main/java/org/gvsig/geoprocess/algorithm/union/UnionAlgorithm.java

View differences:

UnionAlgorithm.java
208 208
	 */
209 209
	private void computesIntersection(FeatureStore storeLayer1, FeatureStore storeLayer2, FeatureStore featStoreOut, boolean selectedGeom, boolean close) throws DataException, WrongParameterTypeException, WrongParameterIDException, NullParameterValueException {
210 210
		GeometryOperation intersection = new IntersectionOperation(storeLayer2);
211
		intersection.setProgressModel(this);
211
        intersection.setTaskStatus(getStatus());
212 212
		intersection.computesGeometryOperation(storeLayer1, featStoreOut, attrNames, selectedGeom, close);
213 213
	}
214 214
	
......
227 227
	private void computesDifference(FeatureStore storeLayer1, FeatureStore storeLayer2, FeatureStore featStoreOut, boolean selectedGeom, boolean close) throws DataException, WrongParameterTypeException, WrongParameterIDException, NullParameterValueException {		
228 228
		Geometry unionGeom1 = ScalableUnionOperation.joinLayerGeometries(storeLayer2);
229 229
		GeometryOperation differenceL1_L2 = new DifferenceOperation(unionGeom1);
230
		differenceL1_L2.setProgressModel(this);
230
        differenceL1_L2.setTaskStatus(getStatus());
231 231
		differenceL1_L2.computesGeometryOperation(storeLayer1, featStoreOut, attrNames, selectedGeom, close);
232 232
	}
233 233
	

Also available in: Unified diff