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