This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository owslib.
commit 127f2a8e8e6f78316342aa677b6072ff1d6c1b4d Author: Bas Couwenberg <[email protected]> Date: Fri Dec 25 16:23:15 2015 +0100 Imported Upstream version 0.10.2 --- VERSION.txt | 2 +- owslib/__init__.py | 2 +- owslib/csw.py | 6 ++++++ owslib/gm03.py | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 5712157..5eef0f1 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.10.1 +0.10.2 diff --git a/owslib/__init__.py b/owslib/__init__.py index 788642e..440f575 100644 --- a/owslib/__init__.py +++ b/owslib/__init__.py @@ -1,3 +1,3 @@ from __future__ import (absolute_import, division, print_function) -__version__ = '0.10.1' +__version__ = '0.10.2' diff --git a/owslib/csw.py b/owslib/csw.py index ed52686..68eac17 100644 --- a/owslib/csw.py +++ b/owslib/csw.py @@ -33,6 +33,7 @@ from owslib import ows from owslib.iso import MD_Metadata from owslib.fgdc import Metadata from owslib.dif import DIF +from owslib.gm03 import GM03 from owslib.namespaces import Namespaces from owslib.util import cleanup_namespaces, bind_url, add_namespaces, openURL @@ -545,6 +546,11 @@ class CatalogueServiceWeb(object): val = i.find(util.nspath_eval('dif:Entry_ID', namespaces)) identifier = self._setidentifierkey(util.testXMLValue(val)) self.records[identifier] = DIF(i) + elif outputschema == namespaces['gm03']: # GM03 + for i in self._exml.findall('.//'+util.nspath_eval('gm03:TRANSFER', namespaces)): + val = i.find(util.nspath_eval('gm03:fileIdentifier', namespaces)) + identifier = self._setidentifierkey(util.testXMLValue(val)) + self.records[identifier] = GM03(i) else: # process default for i in self._exml.findall('.//'+util.nspath_eval('csw:%s' % self._setesnel(esn), namespaces)): val = i.find(util.nspath_eval('dc:identifier', namespaces)) diff --git a/owslib/gm03.py b/owslib/gm03.py index fd27d86..5c52cf9 100644 --- a/owslib/gm03.py +++ b/owslib/gm03.py @@ -192,7 +192,7 @@ class Core(object): self.date = [] for cid in md.findall(util.nspath_eval('gm03:GM03_2_1Core.Core.CI_Date', namespaces)): - self.date.append(CI_Date(val)) + self.date.append(CI_Date(cid)) val = md.find(util.nspath_eval('gm03:GM03_2_1Core.Core.CI_Telephone', namespaces)) if val is not None: @@ -328,7 +328,7 @@ class Core(object): val = md.find(util.nspath_eval('gm03:GM03_2_1Core.Core.spatialExtentEX_SpatialTemporalExtent', namespaces)) if val is not None: - self.identification_point_of_contact = spatialExtentEX_SpatialTemporalExtent(val) + self.self.spatial_temporal_extent = spatialExtentEX_SpatialTemporalExtent(val) @property def elements(self): -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/owslib.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

