Skip to content

Commit

Permalink
#24 geographicDescription is required, put default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-podolskiy90 committed Aug 15, 2024
1 parent 0e95555 commit 201bd1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ packageId=<#if useDoiAsIdentifier && dataset.doi?has_content>"${dataset.doi.doiN
<geographicCoverage>
<#if geocoverage.description?has_content>
<geographicDescription>${geocoverage.description}</geographicDescription>
<#else>
<geographicDescription>N/A</geographicDescription>
</#if>
<#if geocoverage.boundingBox?has_content>
<boundingCoordinates>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@
<geographicCoverage>
<#if (geocoverage.getDescription())?has_content>
<geographicDescription>${geocoverage.description}</geographicDescription>
<#else>
<geographicDescription>N/A</geographicDescription>
</#if>
<boundingCoordinates>
<westBoundingCoordinate>${geocoverage.boundingCoordinates.min.longitude!}</westBoundingCoordinate>
Expand Down

0 comments on commit 201bd1e

Please sign in to comment.