|
@@ 172-174 (lines=3) @@
|
| 169 |
|
} |
| 170 |
|
|
| 171 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18, 21, 23, 25, 28))) { |
| 172 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 173 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 174 |
|
} |
| 175 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 176 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 177 |
|
} |
|
@@ 175-177 (lines=3) @@
|
| 172 |
|
if (!isset($this->boundingBox['mmin']) || $this->boundingBox['mmin'] == 0.0 || ($this->boundingBox['mmin'] > $record->SHPData['mmin'])) { |
| 173 |
|
$this->boundingBox['mmin'] = $record->SHPData['mmin']; |
| 174 |
|
} |
| 175 |
|
if (!isset($this->boundingBox['mmax']) || $this->boundingBox['mmax'] == 0.0 || ($this->boundingBox['mmax'] < $record->SHPData['mmax'])) { |
| 176 |
|
$this->boundingBox['mmax'] = $record->SHPData['mmax']; |
| 177 |
|
} |
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
|
@@ 181-183 (lines=3) @@
|
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
if (in_array($this->shapeType, array(11, 13, 15, 18))) { |
| 181 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 182 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 183 |
|
} |
| 184 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 185 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 186 |
|
} |
|
@@ 184-186 (lines=3) @@
|
| 181 |
|
if (!isset($this->boundingBox['zmin']) || $this->boundingBox['zmin'] == 0.0 || ($this->boundingBox['zmin'] > $record->SHPData['zmin'])) { |
| 182 |
|
$this->boundingBox['zmin'] = $record->SHPData['zmin']; |
| 183 |
|
} |
| 184 |
|
if (!isset($this->boundingBox['zmax']) || $this->boundingBox['zmax'] == 0.0 || ($this->boundingBox['zmax'] < $record->SHPData['zmax'])) { |
| 185 |
|
$this->boundingBox['zmax'] = $record->SHPData['zmax']; |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
|
| 189 |
|
return (count($this->records) - 1); |