|
@@ 130-132 (lines=3) @@
|
| 127 |
|
} |
| 128 |
|
|
| 129 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18, 21, 23, 25, 28))) { |
| 130 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 131 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 132 |
|
} |
| 133 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 134 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 135 |
|
} |
|
@@ 133-135 (lines=3) @@
|
| 130 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 131 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 132 |
|
} |
| 133 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 134 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 135 |
|
} |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
|
@@ 139-141 (lines=3) @@
|
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
| 139 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 140 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 141 |
|
} |
| 142 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 143 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 144 |
|
} |
|
@@ 142-144 (lines=3) @@
|
| 139 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 140 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 141 |
|
} |
| 142 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 143 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 144 |
|
} |
| 145 |
|
} |
| 146 |
|
|
| 147 |
|
return (count($this->records) - 1); |