[Mapbender-commits] r1309 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed May 9 07:30:47 EDT 2007
Author: uli
Date: 2007-05-09 07:30:47 -0400 (Wed, 09 May 2007)
New Revision: 1309
Modified:
trunk/mapbender/http/classes/class_gml2.php
Log:
new function getGml
returns gml content as string
Modified: trunk/mapbender/http/classes/class_gml2.php
===================================================================
--- trunk/mapbender/http/classes/class_gml2.php 2007-05-09 10:22:01 UTC (rev 1308)
+++ trunk/mapbender/http/classes/class_gml2.php 2007-05-09 11:30:47 UTC (rev 1309)
@@ -37,6 +37,10 @@
function gml2(){
$this->geometries = array($this->geomtype_point, $this->geomtype_polygon, $this->geomtype_line, $this->geomtype_multipolygon, $this->geomtype_multiline);
}
+ function getGml($req){
+ $x = new connector($req);
+ return $x->file;
+ }
function parsegml($req){
#$data = implode("",file($req));
$x = new connector($req);
More information about the Mapbender_commits
mailing list