| @@ 276-278 (lines=3) @@ | ||
| 273 | ||
| 274 | $this->SHPData['numpoints'] = Util::loadData('V', $this->ShapeFile->readSHP(4)); |
|
| 275 | ||
| 276 | for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) { |
|
| 277 | $this->SHPData['points'][] = $this->_loadPoint(); |
|
| 278 | } |
|
| 279 | } |
|
| 280 | ||
| 281 | /** |
|
| @@ 312-314 (lines=3) @@ | ||
| 309 | ||
| 310 | fwrite($this->SHPFile, pack('V', $this->SHPData['numpoints'])); |
|
| 311 | ||
| 312 | for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) { |
|
| 313 | $this->_savePoint($this->SHPData['points'][$i]); |
|
| 314 | } |
|
| 315 | } |
|
| 316 | ||
| 317 | /** |
|