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

How to combine output into one image file #25

Open
jcmk opened this issue Jun 22, 2022 · 2 comments
Open

How to combine output into one image file #25

jcmk opened this issue Jun 22, 2022 · 2 comments

Comments

@jcmk
Copy link

jcmk commented Jun 22, 2022

I'd like to be able to combine the output into one high res image, or better yet, have that as an output option. Are you willing to implement this, or have any recommendations on how I would go about doing this?

@akempes
Copy link

akempes commented Dec 22, 2022

I've used Imagick to first combine the tiles into strips and then combine the strips into one single file.

First generate a stip from the tiles: convert -append "folder/*.png" "strips/strip1.png"
Thereafter convert the strips into a singe file: convert +append "strips/*.png" "./map.png"

Note that -append concatenates all images vertically and +append horizontally.

@aliflux-omo
Copy link

You can also convert the mbtile output to a single tif image via gdal:

gdal_translate output.mbtiles output.tif

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

3 participants