versatiles-org / versatiles-rs

VersaTiles - A toolbox for converting, checking and serving map tiles in various formats.
https://versatiles.org
MIT License
57 stars 2 forks source link

Try functionalities "diff" and "patch" #33

Open MichaelKreil opened 1 year ago

MichaelKreil commented 1 year ago

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 commented 11 months 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