Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/ShapeRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ private function _loadMultiPointRecord() {
}
}

/**
* @param string $type
*/
private function _loadMultiPointMZRecord($type) {

$this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8));
Expand Down Expand Up @@ -311,6 +314,9 @@ private function _saveMultiPointRecord() {
}
}

/**
* @param string $type
*/
private function _saveMultiPointMZRecord($type) {

fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"]));
Expand Down Expand Up @@ -364,6 +370,9 @@ private function _loadPolyLineRecord() {
fseek($this->SHPFile, $firstIndex + ($readPoints * 16));
}

/**
* @param string $type
*/
private function _loadPolyLineMZRecord($type) {

$this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8));
Expand Down Expand Up @@ -412,6 +421,9 @@ private function _savePolyLineRecord() {
}
}

/**
* @param string $type
*/
private function _savePolyLineMZRecord($type) {
fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"]));

Expand Down Expand Up @@ -692,6 +704,9 @@ private function _saveDBFData() {
}
}

/**
* @param string $error
*/
public function setError($error) {
$this->lastError = $error;
return false;
Expand Down