Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report AGS summary information within additional metadata #146

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

volcan01010
Copy link
Collaborator

@volcan01010 volcan01010 commented Mar 11, 2024

Description

This merge request updates the API so that the information returned by the AGS validator within the summary item is now returned as part of the additional metadata. The AGS summary is no longer explicitly returned. Where both BGS and AGS additional_metadata are available, the BGS values are used as they contain more data.

The work resolves the comment here: #142 (comment)

To test

  • Confirm tests pass
  • Validate example_ags.ags with the AGS validator and confirm additional metadata are returned (and no summary)
  • Validate example_ags.ags with the BGS validator and confirm additional metadata are returned, including bgs_projects field
  • Validate example_ags.ags with the both validators and confirm additional metadata are returned, including bgs_projects field

This commit uses data from the AGS summary to populate as many fields as
possible in the additional_metadata when BGS data are not available.

The summary attribute from AGS validation is no longer returned as
a standalone item.
@KoalaGeo KoalaGeo merged commit 336bdca into main Mar 11, 2024
1 check passed
@KoalaGeo KoalaGeo deleted the geojson-api branch March 11, 2024 13:45
@KoalaGeo KoalaGeo restored the geojson-api branch March 19, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants