[#62] Fix spatial-resolution parsing
This commit is contained in:
parent
1fa72f4c16
commit
26763218bc
|
@ -691,19 +691,19 @@ class ISODocument(MappedXmlDocument):
|
|||
ISOElement(
|
||||
name="spatial-resolution",
|
||||
search_paths=[
|
||||
"gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance",
|
||||
"gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance",
|
||||
"gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/text()",
|
||||
"gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/text()",
|
||||
],
|
||||
multiplicity="0..1",
|
||||
),
|
||||
ISOElement(
|
||||
name="spatial-resolution-units",
|
||||
search_paths=[
|
||||
"gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/@uom",
|
||||
"gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/@uom",
|
||||
],
|
||||
multiplicity="0..1",
|
||||
),
|
||||
#ISOElement(
|
||||
# name="spatial-resolution-units",
|
||||
# search_paths=[
|
||||
# "gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/@uom",
|
||||
# "gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/@uom",
|
||||
# ],
|
||||
# multiplicity="0..1",
|
||||
#),
|
||||
ISOElement(
|
||||
name="equivalent-scale",
|
||||
search_paths=[
|
||||
|
|
Loading…
Reference in New Issue