Beispiel #1
0
 function __construct($bbox, $kothic_gran = null, $dbdetails = null, $srid = "900913", $dbname = "gis", $user = "******")
 {
     parent::__construct($kothic_gran, $dbdetails, $srid, $dbname, $user);
     $this->bbox = $bbox;
     $this->geomtxt = $this->mkgeom();
     $this->geomtxt2 = $this->mkgeom2();
     $this->forceCache = false;
 }
Beispiel #2
0
 function __construct($bbox, $bboxSRID = "4326", $outSRID = "3857", $ext = 0, $kothic_gran = null, $dbdetails = null, $srid = "3857", $dbname = "gis2", $user = "******")
 {
     parent::__construct($kothic_gran, $dbdetails, $srid, $bboxSRID, $outSRID, $dbname, $user);
     $this->bbox = $bbox;
     $this->ext = $kothic_gran === null ? $ext * 0.01 : 0.2;
     // $ext parameter is a % extension
     $this->geomtxt = $this->mkgeom();
     $this->extGeomtxt = $this->mkExtGeom();
     $this->forceCache = false;
 }