Example #1
0
 public function getNext()
 {
     if (!feof($this->fp)) {
         fseek($this->fp, $this->fpos);
         $shp_record = new ShapeRecord($this->fp, $this->dbf_filename, $this->options);
         if ($shp_record->getError() != "") {
             return false;
         }
         $this->fpos = $shp_record->getNextRecordPosition();
         return $shp_record;
     }
     return false;
 }