[Mapbender-commits] r8390 - in trunk/mapbender/http: classes php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 21 04:43:17 PDT 2012


Author: armin11
Date: 2012-06-21 04:43:16 -0700 (Thu, 21 Jun 2012)
New Revision: 8390

Modified:
   trunk/mapbender/http/classes/class_wfs_1_1_factory.php
   trunk/mapbender/http/classes/class_wfs_factory.php
   trunk/mapbender/http/php/mod_wfs_server.php
Log:
Less debug information

Modified: trunk/mapbender/http/classes/class_wfs_1_1_factory.php
===================================================================
--- trunk/mapbender/http/classes/class_wfs_1_1_factory.php	2012-06-21 07:14:46 UTC (rev 8389)
+++ trunk/mapbender/http/classes/class_wfs_1_1_factory.php	2012-06-21 11:43:16 UTC (rev 8390)
@@ -211,7 +211,7 @@
 				//identification part
 				$myWfs->name = $wfs11Cap->xpath('/wfs:WFS_Capabilities/ows:ServiceIdentification/ows:Name');
 				$myWfs->name = $myWfs->name[0];
-				$myWfs->title = $wfs11Cap->xpath('/wfs:WFS_Capabilities/ows:ServiceIdentifcation/ows:Title');
+				$myWfs->title = $wfs11Cap->xpath('/wfs:WFS_Capabilities/ows:ServiceIdentification/ows:Title');
 				$myWfs->title = $this->stripEndlineAndCarriageReturn($myWfs->title[0]);
 				$myWfs->summary = $wfs11Cap->xpath('/wfs:WFS_Capabilities/ows:ServiceIdentification/ows:Abstract');
 				$myWfs->summary = $this->stripEndlineAndCarriageReturn($myWfs->summary[0]);

Modified: trunk/mapbender/http/classes/class_wfs_factory.php
===================================================================
--- trunk/mapbender/http/classes/class_wfs_factory.php	2012-06-21 07:14:46 UTC (rev 8389)
+++ trunk/mapbender/http/classes/class_wfs_factory.php	2012-06-21 11:43:16 UTC (rev 8390)
@@ -127,6 +127,7 @@
 				$ft->summary = db_result($res_fe, $cnt_fe, "featuretype_abstract");
 				$ft->searchable = db_result($res_fe, $cnt_fe, "featuretype_searchable");
 				$ft->inspire_download = db_result($res_fe, $cnt_fe, "inspire_download");
+				$e = new mb_exception("class_wfs_factory: read from db FT inspire_download: ".$ft->inspire_download);
 				$ft->srs = db_result($res_fe, $cnt_fe, "featuretype_srs");
 				$latLonBbox = db_result($res_fe, $cnt_fe, "featuretype_latlon_bbox");
 				$e = new mb_notice("class_wfs_factory: FT latlonbbox: ".$latLonBbox);

Modified: trunk/mapbender/http/php/mod_wfs_server.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_server.php	2012-06-21 07:14:46 UTC (rev 8389)
+++ trunk/mapbender/http/php/mod_wfs_server.php	2012-06-21 11:43:16 UTC (rev 8390)
@@ -232,6 +232,7 @@
  * @return boolean success
  */
 function updateWfs($obj){
+	//TODO: Update not the whole WFS, use the mapbender internal things and the metadata if wished!
 	$id = $obj->wfs;
 	$url = $obj->url;
 



More information about the Mapbender_commits mailing list