Revision 335 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.reproject/src/main/java/org/gvsig/geoprocess/algorithm/reproject/ReprojectAlgorithm.java
ReprojectAlgorithm.java | ||
---|---|---|
123 | 123 |
FeatureStore outFeatStore = |
124 | 124 |
buildOutPutStore(featureType, IVectorLayer.SHAPE_TYPE_POLYGON, |
125 | 125 |
getTranslation("Reproject_polygon"), RESULT_POL); |
126 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true); |
|
126 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, |
|
127 |
selectedGeom, false, true); |
|
127 | 128 |
} else { |
128 | 129 |
buildOutPutStore(featureType, IVectorLayer.SHAPE_TYPE_POLYGON, |
129 | 130 |
getTranslation("Null_polygon"), RESULT_POL); |
... | ... | |
133 | 134 |
FeatureStore outFeatStore = |
134 | 135 |
buildOutPutStore(featureType, IVectorLayer.SHAPE_TYPE_LINE, |
135 | 136 |
getTranslation("Reproject_line"), RESULT_LINE); |
136 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true); |
|
137 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, |
|
138 |
selectedGeom, false, true); |
|
137 | 139 |
} else { |
138 | 140 |
buildOutPutStore(featureType.getCopy(), IVectorLayer.SHAPE_TYPE_LINE, |
139 | 141 |
getTranslation("Null_line"), RESULT_LINE); |
... | ... | |
143 | 145 |
FeatureStore outFeatStore = |
144 | 146 |
buildOutPutStore(featureType.getCopy(), IVectorLayer.SHAPE_TYPE_POINT, |
145 | 147 |
getTranslation("Reproject_point"), RESULT_POINT); |
146 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true); |
|
148 |
operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, |
|
149 |
selectedGeom, false, true); |
|
147 | 150 |
} else { |
148 | 151 |
buildOutPutStore(featureType.getCopy(), IVectorLayer.SHAPE_TYPE_POINT, |
149 | 152 |
getTranslation("Null_point"), RESULT_POINT); |
Also available in: Unified diff