Open MichaelKreil opened 1 year ago
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: https://github.com/versatiles-org/versatiles-generator/issues/6
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.