|
@@ 145-147 (lines=3) @@
|
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18, 21, 23, 25, 28))) { |
| 145 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 146 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 147 |
|
} |
| 148 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 149 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 150 |
|
} |
|
@@ 148-150 (lines=3) @@
|
| 145 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 146 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 147 |
|
} |
| 148 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 149 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 150 |
|
} |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
|
@@ 154-156 (lines=3) @@
|
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
| 154 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 155 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 156 |
|
} |
| 157 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 158 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 159 |
|
} |
|
@@ 157-159 (lines=3) @@
|
| 154 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 155 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 156 |
|
} |
| 157 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 158 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 159 |
|
} |
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
return (count($this->records) - 1); |