Revision 335 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.fusespatially/src/main/java/org/gvsig/geoprocess/algorithm/fusespatially/FuseSpatiallyOperationFast.java

View differences:

FuseSpatiallyOperationFast.java
119 119
									FeatureStore outFeatStoreTable,
120 120
									String[] attrNames,
121 121
									String[] attrNamesTable,
122
									boolean selectedGeom,
122
									boolean selectedGeomInput,
123
									boolean selectedGeomOutput,
123 124
									String idField) throws DataException {
124 125
		this.outFeatStoreTable = outFeatStoreTable;
125 126
		this.nameIdField = idField;
126 127
		this.inFeatureStore = inFeatStore;
127
		this.selectedGeom = selectedGeom;
128
		this.selectedGeomInput = selectedGeomInput;
129
		this.selectedGeomOverlay = selectedGeomOutput;
128 130
		FeatureSet featuresSet = null;
129 131
		featuresSet = inFeatStore.getFeatureSet();
130 132
		
131 133
		setFeatureStore(outFeatStore, attrNames);
132 134
		DisposableIterator it = null;
133 135

  
134
		if(selectedGeom) {
136
		if(selectedGeomInput) {
135 137
            FeatureSelection ds = inFeatStore.getFeatureSelection();
136 138
            it = ds.iterator();
137 139
            numberOfFeatures = (int) ds.getSelectedCount();

Also available in: Unified diff