@@ 383-385 (lines=3) @@ | ||
380 | ||
381 | $part = 0; |
|
382 | for ($i = 0; $i < $numpoints; $i++) { |
|
383 | if ($part + 1 < $numparts && $this->SHPData['parts'][$part + 1] == $i) { |
|
384 | $part++; |
|
385 | } |
|
386 | if (!isset($this->SHPData['parts'][$part]['points']) || !is_array($this->SHPData['parts'][$part]['points'])) { |
|
387 | $this->SHPData['parts'][$part] = array('points' => array()); |
|
388 | } |
|
@@ 410-412 (lines=3) @@ | ||
407 | ||
408 | $part = 0; |
|
409 | for ($i = 0; $i < $numpoints; $i++) { |
|
410 | if ($part + 1 < $numparts && $this->SHPData['parts'][$part + 1] == $i) { |
|
411 | $part++; |
|
412 | } |
|
413 | $this->SHPData['parts'][$part]['points'][$i][$type] = $this->_loadData('d', 8); |
|
414 | } |
|
415 | } |