[Mapbender-commits] r1891 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Dec 5 08:04:37 EST 2007
Author: verenadiewald
Date: 2007-12-05 08:04:37 -0500 (Wed, 05 Dec 2007)
New Revision: 1891
Modified:
trunk/mapbender/http/classes/class_gml2.php
Log:
changed order of an if section
Modified: trunk/mapbender/http/classes/class_gml2.php
===================================================================
--- trunk/mapbender/http/classes/class_gml2.php 2007-12-05 11:41:10 UTC (rev 1890)
+++ trunk/mapbender/http/classes/class_gml2.php 2007-12-05 13:04:37 UTC (rev 1891)
@@ -77,14 +77,6 @@
$boundedBy=false;
}
}
- if(mb_strtoupper($this->sepNameSpace($element[tag])) == mb_strtoupper("featureMember") && $element[type] == "open"){
- $this->member++;
- $this->keys[$this->member] = array();
- $this->value[$this->member] = array();
- $this->geometry[$this->member] = array();
- $section = true;
- $cnt_geom = 0;
- }
if($section == true){
if( in_array($this->sepNameSpace($element[tag]),$this->geometries) && $element[type] == "open"){
$geom = true;
@@ -124,6 +116,14 @@
$this->keys[$this->member][$el] = $element[tag];
}
}
+ if(mb_strtoupper($this->sepNameSpace($element[tag])) == mb_strtoupper("featureMember") && $element[type] == "open"){
+ $this->member++;
+ $this->keys[$this->member] = array();
+ $this->value[$this->member] = array();
+ $this->geometry[$this->member] = array();
+ $section = true;
+ $cnt_geom = 0;
+ }
}
}
More information about the Mapbender_commits
mailing list