[Mapbender-commits] r9393 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jan 29 00:37:44 PST 2016
Author: armin11
Date: 2016-01-29 00:37:44 -0800 (Fri, 29 Jan 2016)
New Revision: 9393
Modified:
trunk/mapbender/http/php/mod_exportMapbenderLayer2CkanObjects.php
Log:
Fix for problem in ogdp rlp
Modified: trunk/mapbender/http/php/mod_exportMapbenderLayer2CkanObjects.php
===================================================================
--- trunk/mapbender/http/php/mod_exportMapbenderLayer2CkanObjects.php 2016-01-27 15:12:25 UTC (rev 9392)
+++ trunk/mapbender/http/php/mod_exportMapbenderLayer2CkanObjects.php 2016-01-29 08:37:44 UTC (rev 9393)
@@ -228,11 +228,11 @@
//********************************************
//new for solving schema problems with govdata 2015-10-02
//********************************************
- $package->extras->terms_of_use->license_url = $mbArray['tou_licence_url'];
+ //$package->extras->terms_of_use->license_url = $mbArray['tou_licence_url']; //TODO - test why ogdp rlp don't like extras
$package->maintainer_email = $mbArray['group_email'];//"poststelle at lvermgeo.rlp"; //mb_group.mb_group_email
$package->url = $wrapperUrl."?LAYER[zoom]=1&LAYER[id]=".$mbArray['resource_id'];// "http://www.geoportal.rlp.de/portal/karten.html?LAYER[zoom]=1&LAYER[id]=36699"; //constant .. ids
- $package->extras->dates[0]->date = date("Y-m-d",strtotime($mbArray['service_timestamp']))."T00:00:00";//example from Hamburg: "dates": "[{\"date\": \"2014-09-01T00:00:00\", \"role\": \"veroeffentlicht\"}]"
- $package->extras->dates[0]->role = "veroeffentlicht";
+ //$package->extras->dates[0]->date = date("Y-m-d",strtotime($mbArray['service_timestamp']))."T00:00:00";//example from Hamburg: "dates": "[{\"date\": \"2014-09-01T00:00:00\", \"role\": \"veroeffentlicht\"}]"
+ //$package->extras->dates[0]->role = "veroeffentlicht";//TODO - test why ogdp rlp don't like extras
//********************************************
if ($mbArray['service_fees'] != "" || strtoupper($mbArray['service_fees']) != "NONE" || strtoupper($mbArray['service_fees']) != "KEINE") {
$package->terms_of_use->other = $mbArray['service_fees'];//$mbArray['mb_user_id'];// null; // null?
More information about the Mapbender_commits
mailing list