@@ 810-810 (lines=1) @@ | ||
807 | case 1: |
|
808 | case 11: |
|
809 | case 21: |
|
810 | if (in_array($this->shapeType,array(11,21)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
811 | if (in_array($this->shapeType,array(11)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
812 | //Substitutes the value of the current point |
|
813 | $this->SHPData = $point; |
|
@@ 811-811 (lines=1) @@ | ||
808 | case 11: |
|
809 | case 21: |
|
810 | if (in_array($this->shapeType,array(11,21)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
811 | if (in_array($this->shapeType,array(11)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
812 | //Substitutes the value of the current point |
|
813 | $this->SHPData = $point; |
|
814 | break; |
|
@@ 821-821 (lines=1) @@ | ||
818 | case 15: |
|
819 | case 23: |
|
820 | case 25: |
|
821 | if (in_array($this->shapeType,array(13,15,23,25)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
822 | if (in_array($this->shapeType,array(13,15)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
823 | ||
824 | //Adds a new point to the selected part |
|
@@ 822-822 (lines=1) @@ | ||
819 | case 23: |
|
820 | case 25: |
|
821 | if (in_array($this->shapeType,array(13,15,23,25)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
822 | if (in_array($this->shapeType,array(13,15)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
823 | ||
824 | //Adds a new point to the selected part |
|
825 | if (!isset($this->SHPData["xmin"]) || ($this->SHPData["xmin"] > $point["x"])) $this->SHPData["xmin"] = $point["x"]; |
|
@@ 842-842 (lines=1) @@ | ||
839 | case 8: |
|
840 | case 18: |
|
841 | case 28: |
|
842 | if (in_array($this->shapeType,array(18,28)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
843 | if (in_array($this->shapeType,array(18)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
844 | ||
845 | //Adds a new point |
|
@@ 843-843 (lines=1) @@ | ||
840 | case 18: |
|
841 | case 28: |
|
842 | if (in_array($this->shapeType,array(18,28)) && !isset($point["m"])) $point["m"] = 0.0; // no_value |
|
843 | if (in_array($this->shapeType,array(18)) && !isset($point["z"])) $point["z"] = 0.0; // no_value |
|
844 | ||
845 | //Adds a new point |
|
846 | if (!isset($this->SHPData["xmin"]) || ($this->SHPData["xmin"] > $point["x"])) $this->SHPData["xmin"] = $point["x"]; |