Revision 24154 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/shp/write/SHPMultiPoint.java
SHPMultiPoint.java | ||
---|---|---|
51 | 51 |
import com.iver.cit.gvsig.fmap.core.FPoint2D; |
52 | 52 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
53 | 53 |
import com.iver.cit.gvsig.fmap.core.IGeometry3D; |
54 |
import com.iver.cit.gvsig.fmap.core.IGeometryM; |
|
54 | 55 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
55 | 56 |
import com.iver.cit.gvsig.fmap.drivers.shp.SHP; |
56 | 57 |
|
... | ... | |
167 | 168 |
} |
168 | 169 |
} |
169 | 170 |
} |
170 |
if ((m_type == FConstant.SHAPE_TYPE_MULTIPOINTM) || |
|
171 |
(m_type == FConstant.SHAPE_TYPE_MULTIPOINTZ)) { |
|
171 |
if (m_type == FConstant.SHAPE_TYPE_MULTIPOINTM){ |
|
172 | 172 |
buffer.putDouble(-10E40); |
173 | 173 |
buffer.putDouble(-10E40); |
174 |
for (int t = 0; t < numpoints; t++) { |
|
175 |
buffer.putDouble(-10E40); |
|
174 |
double[] ms = ((IGeometryM)geometry).getMs(); |
|
175 |
for (int t = 0; t < numpoints; t++) { |
|
176 |
buffer.putDouble(ms[t]); |
|
176 | 177 |
} |
177 | 178 |
} |
178 | 179 |
|
Also available in: Unified diff