DEV Community

Discussion on: Generate merged GeoTIFF imagery from web maps (xyz tile servers) with Python

Collapse
 
arc12 profile image
Adam Cooper

Jimmy-
thanyou for sharing this, I found it very helpful; it is precisely what I wanted to achieve. You have saved me from many errors of discovery.

I did find it necessary to include an additional option in gdal.Translate:
rgbExpand='rgb'

(otherwise I got monochrome images).

Cheers!
Adam

Collapse
 
jimutt profile image
Jimmy Utterström

That's great, I'm really glad you found it helpful! I couldn't find any articles describing how to solve the complete scenario and it took me some time to figure out how to put together a solution as I'm not very experienced with GIS stuff and the available tools/libs. So I decided to at least document my own attempt to hopefully let other people save some time.

Hmm, I believe rgbExpand might be needed for jpeg/jpg images. I'll look it up and add it to the post. Thanks for letting me know!