src/ShapeRecord.php
private function _loadHeaders()
    {
        $this->shapeType = false;
        $this->recordNumber = $this->_loadData('N', 4);
        if ($this->recordNumber === false) {
            return;
        }
        // We read the length of the record
        $this->size = $this->_loadData('N', 4);
        if ($this->size === false) {
            return;
        }
        $this->size = $this->size * 2 + 8;
        $this->shapeType = $this->_loadData('V', 4);
    }
private function _loadHeaders()
    {
        $this->shapeType = false;
        $this->recordNumber = $this->_loadData('N', 4);
        if ($this->recordNumber === false) {
            return;
        }
        // We read the length of the record
        $this->size = $this->_loadData('N', 4);
        if ($this->size === false) {
            return;
        }
        $this->size = $this->size * 2 + 8;
        $this->shapeType = $this->_loadData('V', 4);
    }
private function _loadHeaders ( ) { $ this -> shapeType = false ; $ this -> recordNumber = $ this -> _loadData ( 'N' , 4 ) ; if ( $ this -> recordNumber === false ) { return ; } // We read the length of the record $ this -> size = $ this -> _loadData ( 'N' , 4 ) ; if ( $ this -> size === false ) { return ; } $ this -> size = $ this -> size * 2 + 8 ; $ this -> shapeType = $ this -> _loadData ( 'V' , 4 ) ; }
Loads metadata header from a file.
Loads metadata header from a file .