datacite / bolognese

Ruby gem and command-line utility for conversion of DOI metadata
MIT License
40 stars 14 forks source link

Support returning single geoLocationPolygon #111

Closed richardhallett closed 3 years ago

richardhallett commented 3 years ago

This is to support backwards compatability where there is only one geoLocationPolygon per geoLocation.

Purpose

This is to help fix this problem: https://github.com/datacite/bolognese/issues/110

In essence this is to support backwards compatabilty.

closes: #110

Approach

Return array when multiple geoLocationPolygons per geoLocation and return singular object when only one per geoLocation.

Types of changes

Reviewer, please remember our guidelines: