[Mapbender-commits] r8798 - in trunk/mapbender: http/classes http/plugins resources/db/pgsql/UTF-8/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Mar 11 09:13:34 PDT 2014


Author: armin11
Date: 2014-03-11 09:13:34 -0700 (Tue, 11 Mar 2014)
New Revision: 8798

Modified:
   trunk/mapbender/http/classes/class_iso19139.php
   trunk/mapbender/http/plugins/mb_metadata_addon.php
   trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql
Log:
Alter inpsire monitoring information for area from integer to varchar.

Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php	2014-03-07 11:28:34 UTC (rev 8797)
+++ trunk/mapbender/http/classes/class_iso19139.php	2014-03-11 16:13:34 UTC (rev 8798)
@@ -1412,7 +1412,7 @@
 			$this->inspireActualCoverage,
 			$this->inspireDownload
 		);
-			$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','b','s','s','s','s','i','i','s','s','b','s','s','s','s','s','s','POLYGON','s','i','i','i');
+			$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','b','s','s','s','s','i','i','s','s','b','s','s','s','s','s','s','POLYGON','s','s','s','i');
 			$res = db_prep_query($sql,$v,$t);
 			return $res;
 	}
@@ -1475,7 +1475,7 @@
 			$this->inspireActualCoverage,
 			$this->inspireDownload
 		);
-		$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','b','s','s','s','s','i','i','s','s','b','s','s','s','s','s','s','POLYGON','s','i','i','i');
+		$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','b','s','s','s','s','i','i','s','s','b','s','s','s','s','s','s','POLYGON','s','s','s','i');
 		$res = db_prep_query($sql,$v,$t);
 		return $res;
 	}

Modified: trunk/mapbender/http/plugins/mb_metadata_addon.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_addon.php	2014-03-07 11:28:34 UTC (rev 8797)
+++ trunk/mapbender/http/plugins/mb_metadata_addon.php	2014-03-11 16:13:34 UTC (rev 8798)
@@ -249,11 +249,11 @@
 	<div id="tabs-7">
 		<fieldset>
 			<legend><?php echo _mb("Relevant area (km<sup>2</sup> - integer)");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("INSPIRE Monitoring: Area which is to be covered by the spatial dataset expressed in km<sup>2</sup>.");?>'}" src="../img/questionmark.png" alt="" /></legend>
-			<input class="digits" name="inspire_whole_area" id="inspire_whole_area"/>
+			<input name="inspire_whole_area" id="inspire_whole_area"/>
 		</fieldset>
 		<fieldset>
 			<legend><?php echo _mb("Actual area (km<sup>2</sup> - integer)");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("INSPIRE Monitoring: Area which is covered by the spatial dataset expressed in km<sup>2</sup>.");?>'}" src="../img/questionmark.png" alt="" /></legend>
-			<input class="digits" name="inspire_actual_coverage" id="inspire_actual_coverage"/>
+			<input name="inspire_actual_coverage" id="inspire_actual_coverage"/>
 		</fieldset>
 	</div>
 	<div id="tabs-8">

Modified: trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql
===================================================================
--- trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql	2014-03-07 11:28:34 UTC (rev 8797)
+++ trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql	2014-03-11 16:13:34 UTC (rev 8798)
@@ -366,7 +366,8 @@
 ALTER TABLE wms ADD COLUMN wms_price_fi integer;
 
 ALTER TABLE mb_proxy_log  ALTER COLUMN log_id TYPE BIGINT;
+ALTER TABLE mb_metadata ALTER COLUMN inspire_whole_area TYPE varchar;
+ALTER TABLE mb_metadata ALTER COLUMN inspire_actual_coverage TYPE varchar;
 
 
 
-



More information about the Mapbender_commits mailing list