Ecotrust / wc-data-registry

Data Registry for the West Coast Governors Alliance
Other
10 stars 8 forks source link

Refer to different metadata field (for ISO constraints) #87

Closed tchaddad closed 10 years ago

tchaddad commented 10 years ago

No constraints are being displayed from ISO metadata because the path is incorrect. This one is similar to issue #50 which has already been fixed.

the current metadata.js on line 37 has:

iso: "gmd\\:resourceConstraints gmd\\:useConstraints, resourceConstraints useConstraints"

should be more like:

iso: "gmd\\:resourceConstraints gmd\\:MD_LegalConstraints gmd\\:otherConstraints gmd\\:CharacterString, resourceConstraints MD_LegalConstraints otherConstraints CharacterString"
tchaddad commented 10 years ago

final correction:

iso: "gmd\\:identificationInfo > gmd\\:MD_DataIdentification > gmd\\:resourceConstraints > gmd\\:MD_LegalConstraints > gmd\\:otherConstraints > gco\\:CharacterString, identificationInfo > MD_DataIdentification > resourceConstraints > MD_LegalConstraints > otherConstraints > CharacterString"

this is now working on the Dev server