-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
add tile-copy utility #772
Conversation
https://github.com/onthegomap/planetiler/actions/runs/7630378255 ℹ️ Base Logs fa7bffb
ℹ️ This Branch Logs 83344a1
|
fc2a806
to
d749f8f
Compare
Awesome, thank you! This has been on my todo list for months. |
Can you share an example? |
@wipfli sure you just need to pass You can either run TileCopy from your IDE with such program arguments if you have things setup, or if not:
All archives (mbtiles, pmtiles, files, csv, json, proto) are supported as input as well as output. More examples here: https://github.com/onthegomap/planetiler/pull/772/files#diff-54f69fe27546dacbdffb609ef73b1b8044fa9b06f96018fc4980d59bdb1983d5R30 If you need to pass any input/output archive specific params then either use query params, or use args prefixed with |
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileCopy.java
Outdated
Show resolved
Hide resolved
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileCopy.java
Outdated
Show resolved
Hide resolved
to copy tiles from one archive into another e.g. mbtiles to files, pmtiles to mbtiles, ...
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Note that you can copy |
to copy tiles from one archive into another e.g. mbtiles to files, ...