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

Ensure that locn_geometry is populated when migrating v1 to Aardvark #171

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

thatbudakguy
Copy link
Member

Previously we were setting dcat_bbox but not locn_geometry based
on the v1 solr_geom. The latter is also crucial, because we can't
do spatial search or render previews without it.

This ensures that we always populate locn_geometry if we had solr_geom,
and then also fill in dcat_bbox if the geometry happens to be in the
ENVELOPE() format.

Previously we were setting dcat_bbox but not locn_geometry based
on the v1 solr_geom. The latter is also crucial, because we can't
do spatial search or render previews without it.

This ensures that we always populate locn_geometry if we had solr_geom,
and then also fill in dcat_bbox if the geometry happens to be in the
ENVELOPE() format.
@thatbudakguy thatbudakguy marked this pull request as ready for review June 3, 2024 19:30
@eliotjordan eliotjordan merged commit de84a31 into main Jun 3, 2024
7 checks passed
@eliotjordan eliotjordan deleted the fix-geometry-crosswalk branch June 3, 2024 20:10
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