-
Notifications
You must be signed in to change notification settings - Fork 3
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
Do not filter locations which do not have coordinates #461
Conversation
backend/src/main/kotlin/app/ehrenamtskarte/backend/stores/importer/steps/Sanitize.kt
Outdated
Show resolved
Hide resolved
backend/src/main/kotlin/app/ehrenamtskarte/backend/stores/importer/steps/Store.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it makes sense, to have a PreSanitizeFilter
and a PostSanitizeFilter
Pipeline steps for clarification 🤔
@@ -1,59 +0,0 @@ | |||
package app.ehrenamtskarte.backend.stores.importer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to PreSanitizeFilter
(previously Filter
)
@@ -1,21 +0,0 @@ | |||
package app.ehrenamtskarte.backend.stores.importer.steps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to PreSanitizeFilter
Done |
I had to restart the CI from a failed state... |
Fixes #443
This currently has no effect since there is only one store with no coordinates (and all other required attributes set):
It is not possible to get correct coordinates here since the street and plz are those of a Postfach:
So the store is only filtered out in a different place. I think I'd merge this anyway as this may change over time and it does not hurt. If no coordinates are found we just filter it out later on.