|
@@ 105-105 (lines=1) @@
|
| 102 |
|
if ($this->boundingBox["ymax"]==0.0 || ($this->boundingBox["ymax"]<$record->SHPData["ymax"])) $this->boundingBox["ymax"] = $record->SHPData["ymax"]; |
| 103 |
|
|
| 104 |
|
if (in_array($this->shapeType,array(11,13,15,18,21,23,25,28))) { |
| 105 |
|
if (!isset($this->boundingBox["mmin"]) || $this->boundingBox["mmin"]==0.0 || ($this->boundingBox["mmin"]>$record->SHPData["mmin"])) $this->boundingBox["mmin"] = $record->SHPData["mmin"]; |
| 106 |
|
if (!isset($this->boundingBox["mmax"]) || $this->boundingBox["mmax"]==0.0 || ($this->boundingBox["mmax"]<$record->SHPData["mmax"])) $this->boundingBox["mmax"] = $record->SHPData["mmax"]; |
| 107 |
|
} |
| 108 |
|
|
|
@@ 106-106 (lines=1) @@
|
| 103 |
|
|
| 104 |
|
if (in_array($this->shapeType,array(11,13,15,18,21,23,25,28))) { |
| 105 |
|
if (!isset($this->boundingBox["mmin"]) || $this->boundingBox["mmin"]==0.0 || ($this->boundingBox["mmin"]>$record->SHPData["mmin"])) $this->boundingBox["mmin"] = $record->SHPData["mmin"]; |
| 106 |
|
if (!isset($this->boundingBox["mmax"]) || $this->boundingBox["mmax"]==0.0 || ($this->boundingBox["mmax"]<$record->SHPData["mmax"])) $this->boundingBox["mmax"] = $record->SHPData["mmax"]; |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
if (in_array($this->shapeType,array(11,13,15,18))) { |
|
@@ 110-110 (lines=1) @@
|
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
if (in_array($this->shapeType,array(11,13,15,18))) { |
| 110 |
|
if (!isset($this->boundingBox["zmin"]) || $this->boundingBox["zmin"]==0.0 || ($this->boundingBox["zmin"]>$record->SHPData["zmin"])) $this->boundingBox["zmin"] = $record->SHPData["zmin"]; |
| 111 |
|
if (!isset($this->boundingBox["zmax"]) || $this->boundingBox["zmax"]==0.0 || ($this->boundingBox["zmax"]<$record->SHPData["zmax"])) $this->boundingBox["zmax"] = $record->SHPData["zmax"]; |
| 112 |
|
} |
| 113 |
|
|
|
@@ 111-111 (lines=1) @@
|
| 108 |
|
|
| 109 |
|
if (in_array($this->shapeType,array(11,13,15,18))) { |
| 110 |
|
if (!isset($this->boundingBox["zmin"]) || $this->boundingBox["zmin"]==0.0 || ($this->boundingBox["zmin"]>$record->SHPData["zmin"])) $this->boundingBox["zmin"] = $record->SHPData["zmin"]; |
| 111 |
|
if (!isset($this->boundingBox["zmax"]) || $this->boundingBox["zmax"]==0.0 || ($this->boundingBox["zmax"]<$record->SHPData["zmax"])) $this->boundingBox["zmax"] = $record->SHPData["zmax"]; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
return (count($this->records) - 1); |