Skip to content

Commit

Permalink
Update CHANGELOG.rst, __init__.py, and iso_metadata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jokiefer committed Dec 12, 2023
1 parent 72cb94d commit e3af370
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



[v0.12.3] - 2023-12-12
---------------------

Fixed
~~~~~

* added missing gmx namespace to `ReferenceSystem` mapper



[v0.12.2] - 2023-12-11
---------------------

Expand Down
2 changes: 1 addition & 1 deletion ows_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.12.2"
__version__ = "0.12.3"
VERSION = __version__ # synonym
6 changes: 4 additions & 2 deletions ows_lib/xml_mapper/iso_metadata/iso_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from ows_lib.xml_mapper.gml.gml import Gml
from ows_lib.xml_mapper.mixins import CustomXmlObject
from ows_lib.xml_mapper.namespaces import (GCO_NAMESPACE, GMD_NAMESPACE,
GML_3_1_1_NAMESPACE, SRV_NAMESPACE)
GML_3_1_1_NAMESPACE, GMX_NAMESPACE,
SRV_NAMESPACE)


class Keyword(CustomXmlObject, xmlmap.XmlObject):
Expand Down Expand Up @@ -99,7 +100,8 @@ class ReferenceSystem(CustomXmlObject, xmlmap.XmlObject):
ROOT_NAME = "RS_Identifier"
ROOT_NS = "gmd"
ROOT_NAMESPACES = dict([("gmd", GMD_NAMESPACE),
("gco", GCO_NAMESPACE)])
("gco", GCO_NAMESPACE),
("gmx", GMX_NAMESPACE)])

_ref_system = xmlmap.StringField(xpath="gmd:code/gco:CharacterString")
_gmx_ref_system = xmlmap.StringField(xpath="gmd:code/gmx:Anchor")
Expand Down

0 comments on commit e3af370

Please sign in to comment.