Revision 1260 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.lateralbuffer/src/main/java/org/gvsig/geoprocess/algorithm/lateralbuffer/LateralBufferAlgorithm.java
LateralBufferAlgorithm.java | ||
---|---|---|
114 | 114 |
// Object to compute the distance |
115 | 115 |
IDistance distance = null; |
116 | 116 |
if (distanceValue == 0) |
117 |
distance = new FieldDistance(attributePosition);
|
|
117 |
distance = new FieldDistance(sextanteInputLayer.getFieldName(attributePosition));
|
|
118 | 118 |
else |
119 | 119 |
distance = new ConstantDistance(distanceValue); |
120 | 120 |
|
Also available in: Unified diff