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

Try functionalities "diff" and "patch" #33

Open
MichaelKreil opened this issue Aug 1, 2023 · 1 comment
Open

Try functionalities "diff" and "patch" #33

MichaelKreil opened this issue Aug 1, 2023 · 1 comment

Comments

@MichaelKreil
Copy link
Member

If we produce new tiles from a new planet dump, probably only a small percentage of tiles have changed. Maybe adding a command "diff" to extract only changed tiles and "patch" to update tiles might help keeping a planet.versatiles file up to date more easily.

@MichaelKreil
Copy link
Member Author

MichaelKreil commented Oct 6, 2023

Something like this could be used to merge multiple sources:

versatiles patch in1.versatiles in2.versatiles in3.versatiles out.versatiles

Alternative names for this sub command could be: add, merge, stack, paste, overlay, overwrite, flatten, composite, ...


Or we go in the direction of a "virtual sources" like:

versatiles convert "merge:in1.versatiles,in2.versatiles,in3.versatiles" out.versatiles

This would also solve: versatiles-org/versatiles-generator#6

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

No branches or pull requests

1 participant