|
@@ -298,7 +298,7 @@ discard block |
|
|
block discarded – undo |
|
298
|
298
|
*/ |
|
299
|
299
|
private function _saveMultiPointMZRecord($type) { |
|
300
|
300
|
|
|
301
|
|
- fwrite($this->SHPFile, pack('dd', $this->SHPData[$type . 'min'], $this->SHPData[$type . 'max'])); |
|
|
301
|
+ fwrite($this->SHPFile, pack('dd', $this->SHPData[$type.'min'], $this->SHPData[$type.'max'])); |
|
302
|
302
|
|
|
303
|
303
|
for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) { |
|
304
|
304
|
fwrite($this->SHPFile, Util::packDouble($this->SHPData['points'][$type])); |
|
@@ -454,8 +454,8 @@ discard block |
|
|
block discarded – undo |
|
454
|
454
|
if (!isset($point[$direction])) { |
|
455
|
455
|
continue; |
|
456
|
456
|
} |
|
457
|
|
- $min = $direction . 'min'; |
|
458
|
|
- $max = $direction . 'max'; |
|
|
457
|
+ $min = $direction.'min'; |
|
|
458
|
+ $max = $direction.'max'; |
|
459
|
459
|
if (!isset($this->SHPData[$min]) || ($this->SHPData[$min] > $point[$direction])) { |
|
460
|
460
|
$this->SHPData[$min] = $point[$direction]; |
|
461
|
461
|
} |
Please login to merge, or discard this patch.