[Mapbender-commits] r9035 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Aug 7 06:00:45 PDT 2014
Author: armin11
Date: 2014-08-07 06:00:45 -0700 (Thu, 07 Aug 2014)
New Revision: 9035
Modified:
trunk/mapbender/http/classes/class_iso19139.php
Log:
Less exceptions
Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php 2014-08-06 14:15:17 UTC (rev 9034)
+++ trunk/mapbender/http/classes/class_iso19139.php 2014-08-07 13:00:45 UTC (rev 9035)
@@ -785,11 +785,11 @@
//reloadXML
$iso19139Xml = simplexml_load_string($iso19139Xml->asXML());
$iso19139Xml->registerXPathNamespace("gml", "http://www.opengis.net/gml");
- $e = new mb_exception("class_iso19139.php: parsing successfull!");
+ $e = new mb_notice("class_iso19139.php: parsing successfull!");
//<gml:Polygon srsName="EPSG:4326"><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">
$posListArray = $iso19139Xml->xpath('/gml:Polygon/gml:exterior/gml:LinearRing/gml:posList');
if (count($posListArray) > 0) {
- $e = new mb_exception("class_iso19139.php: found pos list!");
+ $e = new mb_notice("class_iso19139.php: found pos list!");
//read posList
$exteriorRingPoints = $posListArray;
if (count($exteriorRingPoints) > 0) {
@@ -799,7 +799,7 @@
$polygonalExtentExterior[$i]['x'] = $exteriorRingPointsArray[2*$i];
$polygonalExtentExterior[$i]['y'] = $exteriorRingPointsArray[(2*$i)+1];
}
- $e = new mb_exception("class_iso19139.php: ". count($polygonalExtentExterior) . " point objects!");
+ $e = new mb_notice("class_iso19139.php: ". count($polygonalExtentExterior) . " point objects!");
return $polygonalExtentExterior;
}
}
@@ -1187,7 +1187,7 @@
}
$postGisPolygon = rtrim($postGisPolygon,',');
$postGisPolygon .= "))";
- $e = new mb_exception("class_iso19139.php: polygon: ".$postGisPolygon);
+ $e = new mb_notice("class_iso19139.php: polygon: ".$postGisPolygon);
return $postGisPolygon;
}
}
More information about the Mapbender_commits
mailing list