@@ 676-682 (lines=7) @@ | ||
673 | } |
|
674 | break; |
|
675 | case 23: |
|
676 | case 25: |
|
677 | $count = count($this->SHPData['parts']); |
|
678 | $result = 22 + (2 * 4) + 2 * $count; |
|
679 | for ($i = 0; $i < $count; $i++) { |
|
680 | $result += (8 + 4) * count($this->SHPData['parts'][$i]['points']); |
|
681 | } |
|
682 | break; |
|
683 | case 13: |
|
684 | case 15: |
|
685 | $count = count($this->SHPData['parts']); |
|
@@ 684-690 (lines=7) @@ | ||
681 | } |
|
682 | break; |
|
683 | case 13: |
|
684 | case 15: |
|
685 | $count = count($this->SHPData['parts']); |
|
686 | $result = 22 + (4 * 4) + 2 * $count; |
|
687 | for ($i = 0; $i < $count; $i++) { |
|
688 | $result += (8 + 8) * count($this->SHPData['parts'][$i]['points']); |
|
689 | } |
|
690 | break; |
|
691 | case 8: |
|
692 | $result = 20 + 8 * count($this->SHPData['points']); |
|
693 | break; |