Is there a way to combine multiple ASCII (text) files into a single TIFF file with multiple bands (Band1, Band2 ...) using GDAL or Python?

closed as off-topic by user2856, Jochen Schwarze, BERA, xunilk, whyzar Oct 15 '18 at 12:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – user2856, Jochen Schwarze, BERA, xunilk, whyzar
If this question can be reworded to fit the rules in the help center, please edit the question.


You can use the GDAL command line tools:

gdalbuildvrt -separate out.vrt b1.asc b2.asc b3.asc
gdal_translate out.vrt out.tif

Not the answer you're looking for? Browse other questions tagged or ask your own question.