@@ 675-677 (lines=3) @@ | ||
672 | case 8: |
|
673 | $result = 20 + 8 * count($this->SHPData['points']); |
|
674 | break; |
|
675 | case 28: |
|
676 | $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']); |
|
677 | break; |
|
678 | case 18: |
|
679 | $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']); |
|
680 | break; |
|
@@ 678-680 (lines=3) @@ | ||
675 | case 28: |
|
676 | $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']); |
|
677 | break; |
|
678 | case 18: |
|
679 | $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']); |
|
680 | break; |
|
681 | default: |
|
682 | $result = false; |
|
683 | $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType)); |