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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
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!