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

Refactoring for to_xml #2999

Merged
merged 3 commits into from Dec 9, 2020
Merged

Refactoring for to_xml #2999

merged 3 commits into from Dec 9, 2020

Conversation

gravitystorm
Copy link
Collaborator

This was originally going to involve getting rid of the to_xml for tracepoints, and move to a builder view for that, but I got bogged down in the gpx file building stuff and had to abandon that.

So this PR is some stand-alone work that was going to be in that PR but may as well be used separately.

Every point knows which trace it's associated with, so there's no
need to search for it separately
It doesn't make a huge difference, since rails caches all the results
of the queries generated by point.trace lookups, but at least it cuts
down on the logs.
@tomhughes tomhughes merged commit 88ba316 into openstreetmap:master Dec 9, 2020
@gravitystorm gravitystorm deleted the to_xml branch December 23, 2020 15:16
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.

None yet

2 participants