| @@ 476-478 (lines=3) @@ | ||
| 473 | case 1: |
|
| 474 | case 11: |
|
| 475 | case 21: |
|
| 476 | if (in_array($this->shapeType, array(11, 21)) && !isset($point['m'])) { |
|
| 477 | $point['m'] = 0.0; // no_value |
|
| 478 | } |
|
| 479 | if (in_array($this->shapeType, array(11)) && !isset($point['z'])) { |
|
| 480 | $point['z'] = 0.0; // no_value |
|
| 481 | } |
|
| @@ 479-481 (lines=3) @@ | ||
| 476 | if (in_array($this->shapeType, array(11, 21)) && !isset($point['m'])) { |
|
| 477 | $point['m'] = 0.0; // no_value |
|
| 478 | } |
|
| 479 | if (in_array($this->shapeType, array(11)) && !isset($point['z'])) { |
|
| 480 | $point['z'] = 0.0; // no_value |
|
| 481 | } |
|
| 482 | ||
| 483 | //Substitutes the value of the current point |
|
| 484 | $this->SHPData = $point; |
|
| @@ 493-495 (lines=3) @@ | ||
| 490 | case 15: |
|
| 491 | case 23: |
|
| 492 | case 25: |
|
| 493 | if (in_array($this->shapeType, array(13, 15, 23, 25)) && !isset($point['m'])) { |
|
| 494 | $point['m'] = 0.0; // no_value |
|
| 495 | } |
|
| 496 | if (in_array($this->shapeType, array(13, 15)) && !isset($point['z'])) { |
|
| 497 | $point['z'] = 0.0; // no_value |
|
| 498 | } |
|
| @@ 496-498 (lines=3) @@ | ||
| 493 | if (in_array($this->shapeType, array(13, 15, 23, 25)) && !isset($point['m'])) { |
|
| 494 | $point['m'] = 0.0; // no_value |
|
| 495 | } |
|
| 496 | if (in_array($this->shapeType, array(13, 15)) && !isset($point['z'])) { |
|
| 497 | $point['z'] = 0.0; // no_value |
|
| 498 | } |
|
| 499 | ||
| 500 | $this->_adjustBBox($point); |
|
| 501 | ||
| @@ 511-513 (lines=3) @@ | ||
| 508 | case 8: |
|
| 509 | case 18: |
|
| 510 | case 28: |
|
| 511 | if (in_array($this->shapeType, array(18, 28)) && !isset($point['m'])) { |
|
| 512 | $point['m'] = 0.0; // no_value |
|
| 513 | } |
|
| 514 | if (in_array($this->shapeType, array(18)) && !isset($point['z'])) { |
|
| 515 | $point['z'] = 0.0; // no_value |
|
| 516 | } |
|
| @@ 514-516 (lines=3) @@ | ||
| 511 | if (in_array($this->shapeType, array(18, 28)) && !isset($point['m'])) { |
|
| 512 | $point['m'] = 0.0; // no_value |
|
| 513 | } |
|
| 514 | if (in_array($this->shapeType, array(18)) && !isset($point['z'])) { |
|
| 515 | $point['z'] = 0.0; // no_value |
|
| 516 | } |
|
| 517 | ||
| 518 | $this->_adjustBBox($point); |
|
| 519 | ||