Revision 335 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.intersection/src/main/java/org/gvsig/geoprocess/algorithm/intersection/IntersectionAlgorithm.java
IntersectionAlgorithm.java | ||
---|---|---|
164 | 164 |
getTranslation("Intersection_point"), RESULT_POINT); |
165 | 165 |
|
166 | 166 |
getStatus().setTitle("Point"); |
167 |
operation.computesGeometryOperation(storeLayer, outFeatStorePoint, attrNames, selectedGeom, true); |
|
167 |
operation.computesGeometryOperation(storeLayer, outFeatStorePoint, attrNames, |
|
168 |
selectedGeom, false, true); |
|
168 | 169 |
|
169 | 170 |
//La de pol?gonos solo si es intersecci?n entre pol?gonos |
170 | 171 |
if (isPolygon(storeLayer) && isPolygon(storeOverlay)) { |
... | ... | |
172 | 173 |
buildOutPutStoreFromUnion(featureType1, featureType2, |
173 | 174 |
IVectorLayer.SHAPE_TYPE_POLYGON, getTranslation("Intersection_polygon"), RESULT_POL); |
174 | 175 |
getStatus().setTitle("Polygon"); |
175 |
operation.computesGeometryOperation(storeLayer, outFeatStorePol, attrNames, selectedGeom, true); |
|
176 |
operation.computesGeometryOperation(storeLayer, outFeatStorePol, attrNames, |
|
177 |
selectedGeom, false, true); |
|
176 | 178 |
} |
177 | 179 |
|
178 | 180 |
//La capa de l?neas se genera cuando ning?na de las dos es de puntos |
... | ... | |
181 | 183 |
buildOutPutStoreFromUnion(featureType1, featureType2, |
182 | 184 |
IVectorLayer.SHAPE_TYPE_LINE, getTranslation("Intersection_line"), RESULT_LINE); |
183 | 185 |
getStatus().setTitle("Line"); |
184 |
operation.computesGeometryOperation(storeLayer, outFeatStoreLine, attrNames, selectedGeom, true); |
|
186 |
operation.computesGeometryOperation(storeLayer, outFeatStoreLine, attrNames, |
|
187 |
selectedGeom, false, true); |
|
185 | 188 |
} |
186 | 189 |
|
187 | 190 |
if(outFeatStorePol == null) { |
Also available in: Unified diff