Revision 47732 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.shp/src/main/java/org/gvsig/fmap/dal/store/shp/utils/SHPFileWrite.java
SHPFileWrite.java | ||
---|---|---|
202 | 202 |
|
203 | 203 |
ShapeFileHeader2 header = new ShapeFileHeader2(); |
204 | 204 |
|
205 |
header.write(m_bb, type, numberOfGeometries, fileLength / 2, |
|
205 |
header.write(m_bb, type, numberOfGeometries, fileLength, // / 2,
|
|
206 | 206 |
bounds |
207 | 207 |
.getMinimum(0), bounds.getMinimum(1), bounds.getMaximum(0), |
208 | 208 |
bounds.getMaximum(1), 0, 0, 0, 0); |
... | ... | |
389 | 389 |
} |
390 | 390 |
return SHP.NULL; |
391 | 391 |
} |
392 |
|
|
393 |
public int size() throws IOException { |
|
394 |
return (int) this.shpChannel.size(); |
|
395 |
} |
|
396 |
|
|
392 | 397 |
} |
Also available in: Unified diff