[Mapbender-commits] r9138 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jan 6 07:37:29 PST 2015
Author: armin11
Date: 2015-01-06 07:37:29 -0800 (Tue, 06 Jan 2015)
New Revision: 9138
Modified:
trunk/mapbender/http/php/mod_exportISOMetadata.php
Log:
Export only those metadata records, that are not already read from a CSW as GetRecordById Responses.
Modified: trunk/mapbender/http/php/mod_exportISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_exportISOMetadata.php 2015-01-05 11:18:23 UTC (rev 9137)
+++ trunk/mapbender/http/php/mod_exportISOMetadata.php 2015-01-06 15:37:29 UTC (rev 9138)
@@ -43,6 +43,11 @@
die();
}
+$sql = "update mb_metadata set export2csw = false where position('GetRecordById' in data) <> 0 and position('GetRecordById' in data) is not null";
+$v = array();
+$t = array();
+$res = db_prep_query($sql,$v,$t);
+
$sql = "SELECT layer_id ";
$sql .= "FROM ".$wmsView;
//$sql .= "FROM layer WHERE layer_id IN (20203,20202)";
More information about the Mapbender_commits
mailing list