Revision 270 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.buffer/src/main/java/org/gvsig/geoprocess/algorithm/buffer/InOutBufferOperation.java
InOutBufferOperation.java | ||
---|---|---|
134 | 134 |
} |
135 | 135 |
} |
136 | 136 |
try { |
137 |
lastEditFeature = |
|
138 |
persister.addFeature(newGeom, id, -1 * distRing, distRing); |
|
139 |
id++; |
|
137 |
if (newGeom != null && !newGeom.isEmpty()) { |
|
138 |
lastEditFeature = |
|
139 |
persister.addFeature(newGeom, id, -1 * distRing, distRing); |
|
140 |
id++; |
|
141 |
} |
|
140 | 142 |
} catch (CreateGeometryException e) { |
141 | 143 |
Sextante.addErrorToLog(e); |
142 | 144 |
} catch (DataException e) { |
Also available in: Unified diff