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

Implement enhanced diffs #4

Open
xivk opened this issue May 18, 2020 · 0 comments
Open

Implement enhanced diffs #4

xivk opened this issue May 18, 2020 · 0 comments
Assignees

Comments

@xivk
Copy link
Contributor

xivk commented May 18, 2020

Implement diffs that only store changes. For example if a node position doesn't change we don't store the lat/lon again. The same for its tags or a relation's members or a node's ways.

  • Node:
    • Tags
    • Lat/Lon
  • Way:
    • Nodes
    • Tags.
  • Relation:
    • Members
    • Tags.

Reasoning:

In a lot of cases only tags will change or only positions. When splitting a way only the nodes set changes. This will reduce diskspace used for a diff even further.

@xivk xivk self-assigned this May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant