Exemple #1
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 2;
     $this->text_type = 'LINESTRING';
     $this->points = array();
 }
Exemple #2
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 3;
     $this->text_type = 'POLYGON';
     $this->rings = array();
 }
Exemple #3
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 7;
     $this->text_type = 'GEOMETRYCOLLECTION';
     $this->geometries = array();
 }
Exemple #4
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 1;
     $this->text_type = 'POINT';
     $this->x = 0;
     $this->y = 0;
     $this->z = 0;
     $this->m = 0;
 }
Exemple #5
0
 public function __construct($x, $y)
 {
     $this->x = $x;
     $this->y = $y;
     parent::__construct(__CLASS__);
 }