Example #1
0
 function testConstructor()
 {
     $testPolygon = new KVDgis_GeomPolygon(31300, $this->testLinearRing1, array($this->testLinearRing2));
     $this->assertEquals($testPolygon->getAsText(), 'POLYGON((178000 212000, 100000 150000), (178000 212000, 100000 150000))');
     $this->assertEquals(31300, $testPolygon->getSrid());
 }