Revision 26078 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/shp/write/SHPPolygon.java

View differences:

SHPPolygon.java
228 228
			buffer.putDouble(-10E40);
229 229
			buffer.putDouble(-10E40);
230 230
			double[] ms = ((IGeometryM)geometry).getMs();
231
			for (int t = 0; t < npoints; t++) {		    	   
231
			for (int t = 0; t < npoints; t++) {
232 232
				buffer.putDouble(ms[t]);
233
			}		
233
			}
234 234
		}
235 235
	}
236 236

  
......
256 256

  
257 257
		if (m_type == FConstant.SHAPE_TYPE_POLYGONZ) {
258 258
			length = 44 + (4 * parts.length) + (16 * npoints) + (8 * npoints) +
259
				16 + (8 * npoints) + 16;
259
				16;
260 260
		} else if (m_type == FConstant.SHAPE_TYPE_POLYGONM) {
261 261
			length = 44 + (4 * parts.length) + (16 * npoints) + (8 * npoints) +
262 262
				16;

Also available in: Unified diff