| @@ 497-499 (lines=3) @@ | ||
| 494 | case 1: |
|
| 495 | case 11: |
|
| 496 | case 21: |
|
| 497 | if (in_array($this->shapeType, array(11, 21)) && !isset($point['m'])) { |
|
| 498 | $point['m'] = 0.0; // no_value |
|
| 499 | } |
|
| 500 | if (in_array($this->shapeType, array(11)) && !isset($point['z'])) { |
|
| 501 | $point['z'] = 0.0; // no_value |
|
| 502 | } |
|
| @@ 500-502 (lines=3) @@ | ||
| 497 | if (in_array($this->shapeType, array(11, 21)) && !isset($point['m'])) { |
|
| 498 | $point['m'] = 0.0; // no_value |
|
| 499 | } |
|
| 500 | if (in_array($this->shapeType, array(11)) && !isset($point['z'])) { |
|
| 501 | $point['z'] = 0.0; // no_value |
|
| 502 | } |
|
| 503 | ||
| 504 | //Substitutes the value of the current point |
|
| 505 | $this->SHPData = $point; |
|
| @@ 514-516 (lines=3) @@ | ||
| 511 | case 15: |
|
| 512 | case 23: |
|
| 513 | case 25: |
|
| 514 | if (in_array($this->shapeType, array(13, 15, 23, 25)) && !isset($point['m'])) { |
|
| 515 | $point['m'] = 0.0; // no_value |
|
| 516 | } |
|
| 517 | if (in_array($this->shapeType, array(13, 15)) && !isset($point['z'])) { |
|
| 518 | $point['z'] = 0.0; // no_value |
|
| 519 | } |
|
| @@ 517-519 (lines=3) @@ | ||
| 514 | if (in_array($this->shapeType, array(13, 15, 23, 25)) && !isset($point['m'])) { |
|
| 515 | $point['m'] = 0.0; // no_value |
|
| 516 | } |
|
| 517 | if (in_array($this->shapeType, array(13, 15)) && !isset($point['z'])) { |
|
| 518 | $point['z'] = 0.0; // no_value |
|
| 519 | } |
|
| 520 | ||
| 521 | $this->_adjustBBox($point); |
|
| 522 | ||
| @@ 532-534 (lines=3) @@ | ||
| 529 | case 8: |
|
| 530 | case 18: |
|
| 531 | case 28: |
|
| 532 | if (in_array($this->shapeType, array(18, 28)) && !isset($point['m'])) { |
|
| 533 | $point['m'] = 0.0; // no_value |
|
| 534 | } |
|
| 535 | if (in_array($this->shapeType, array(18)) && !isset($point['z'])) { |
|
| 536 | $point['z'] = 0.0; // no_value |
|
| 537 | } |
|
| @@ 535-537 (lines=3) @@ | ||
| 532 | if (in_array($this->shapeType, array(18, 28)) && !isset($point['m'])) { |
|
| 533 | $point['m'] = 0.0; // no_value |
|
| 534 | } |
|
| 535 | if (in_array($this->shapeType, array(18)) && !isset($point['z'])) { |
|
| 536 | $point['z'] = 0.0; // no_value |
|
| 537 | } |
|
| 538 | ||
| 539 | $this->_adjustBBox($point); |
|
| 540 | ||