Add Geo Shape in Registry with ingest pipelines #447
+25
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗒️ Summary
Automate the creation of the geo shape field in the registry when a bounding box is found in the product.
Works with flat product document, not with the latest structured products.
⚙️ Test Data and/or Report
Use the docker compose setup and check that the products
https://elasticsearch:9200/geo-registry/_doc/urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00122_20190401_123217::1.0
and urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0 have a valid bbox_polygon field.
♻️ Related Issues
Contributes to NASA-PDS/registry-api#572