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

OSM Machines #203

Merged
merged 14 commits into from
Nov 8, 2023
Merged

OSM Machines #203

merged 14 commits into from
Nov 8, 2023

Conversation

jannisborn
Copy link
Owner

Adding ~450 new machines! Remaining 400 ones from OSM were processed and identified as already existing in our DB.

This PR will close #84

Some steps completed towards automatic OSM processing (#201 ) but more work required

@jannisborn jannisborn added the data Machine location updates label Nov 5, 2023
Copy link
Collaborator

@NinaWie NinaWie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!
One question: If we run the location differ now, and there is a new machine that matches with one of the elongated-coin machines, then the external_url would be replaced with the one from the pennycollector website, right? Because the elongated-coin machines are basically treated like the link = null machines?

Also, you should send me your vscode formatting settings; we should use the same because the format diff is very annoying.

"properties": {
"name": title,
"active": True,
"area": country,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be "area": match
since you want to use the area from our list that was matched by fuzzysearch

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!!!!!

@jannisborn
Copy link
Owner Author

@NinaWie exactly this was the idea to have the pennylocator website as the main data source. So if it's available it's preferred over elongated-coin website

As for formatting, let's do this in a separate PR for all the backend code and set up a small CI routine, or even a pre-commit hoook with RUFF

@NinaWie
Copy link
Collaborator

NinaWie commented Nov 6, 2023

Makes sense, I agree to using the pennylocator website whenever available. Then it seems we can merge after resolving the server locations conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Machine location updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

check OSM machines
2 participants